.page--promotion .main {
  padding-top: 10px;
}
.page--promotion .promotion-board {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .page--promotion .main {
    padding-top: 0;
  }
}
.promotion-board {
  background: #121212;
  width: 100%;
  max-width: 940px;
  border-radius: 18px;
  padding: 14px 16px 18px;
}
.promotion-board,
.promotion-board * {
  font-size: 12px !important;
}
.promotion-board__tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding: 10px 0;
}
.promotion-board__tab {
  position: relative;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.94;
  padding: 10px 15px;
}
.promotion-board__tab:hover {
  text-decoration: none;
  border-bottom-color: transparent;
}
.promotion-board__tab.is-active {
  color: #f4d44f;
  border-bottom: 2px solid #f4d44f;
}
.promotion-board__tab--counted {
  padding-right: 22px;
}
.promotion-board__count {
  position: absolute;
  top: -10px;
  right: 0;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ff2727;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
}
.promotion-board__body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.promotion-board__body[hidden] {
  display: none !important;
}
.page--referral .main {
  padding-top: 10px;
}
.referral-page {
  max-width: 860px;
  background: #101113;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid #21232a;
  margin: 0 auto;
}
.referral-page,
.referral-page * {
  font-size: 12px !important;
}
.referral-page__top-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 0 8px;
  border-bottom: 1px solid #282a31;
}
.referral-page__top-tab {
  position: relative;
  color: #d8d9de;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  padding: 8px 2px 10px;
}
.referral-page__top-tab.is-active {
  color: #f2d24f;
  border-bottom: 2px solid #f2d24f;
}
.referral-page__top-tab--counted {
  padding-right: 16px;
}
.referral-page__tab-count {
  position: absolute;
  top: -2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f32727;
  color: #fff;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}
.referral-page__wallet-card {
  margin-top: 12px;
  border: 1px solid #2a250f;
  border-radius: 18px;
  background: linear-gradient(180deg, #101007 0%, #0b0b05 100%);
  box-shadow: inset 0 1px 0 rgba(255, 231, 122, 0.08);
  position: relative;
  padding: 18px 14px 14px;
}
.referral-page__wallet-handle {
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  width: 94px;
  height: 20px;
  border: none;
  border-radius: 0 0 14px 14px;
  background: #1b1c20;
  color: #f5f5f5;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.referral-page__wallet-handle img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.95;
}
.referral-page__wallet-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.referral-page__wallet-label {
  margin: 0 0 5px;
  color: #efe36a;
  font-weight: 600;
  font-size: 13px !important;
  line-height: 1;
}
.referral-page__wallet-label strong {
  color: #f1f1f1;
}
.referral-page__wallet-label img {
  vertical-align: -2px;
}
.referral-page__wallet-value {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1f1f1;
  font-size: 36px !important;
  line-height: 1;
  font-weight: 700;
}
.referral-page__wallet-user {
  text-align: right;
}
.referral-page__wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px 0 10px;
  margin-top: 4px;
  border-radius: 20px;
  border: 1px solid #171818;
  text-decoration: none;
  background: #070707;
  color: #f3f3f3;
  font-weight: 700;
  font-size: 29px !important;
  line-height: 1;
}
.referral-page__wallet-pill-chev {
  color: #f5f5f5;
  font-size: 22px !important;
  line-height: 1;
}
.referral-page__sub-tabs {
  margin-top: 10px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #1e1e1e;
  border-radius: 999px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
}
.referral-page__sub-tabs::-webkit-scrollbar {
  display: none;
}
.referral-page__sub-tab {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  box-sizing: border-box;
}
.referral-page__sub-tab.is-active {
  background: #3d3d3d;
  color: #ffffff;
}
.referral-page__rules-card {
  border: 1px solid #504617;
  border-radius: 12px;
  background: #15160f;
  padding: 14px 16px;
  color: #cecfca;
}
.referral-page__rules-title {
  margin: 0 0 10px;
  color: #f0f0f0;
  font-size: 14px !important;
  font-weight: 700;
}
.referral-page__rules-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.5;
}
.referral-page__rules-list li + li {
  margin-top: 6px;
}
.referral-page__provider-card {
  margin: 10px auto;
  overflow: hidden;
}
.referral-page__provider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #252525;
  background: #050505;
}
.referral-page__provider-title {
  color: #d7d7d7;
  font-size: 11px !important;
}
.referral-page__provider-filter {
  min-width: 98px;
  height: 22px;
  padding: 0 10px;
  border: 1px solid #3f3920;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dabf48;
  font-size: 10px !important;
  background: #1a1a12;
}
.referral-page__provider-table-wrap,
.referral-page__provider-table:not(.referral-page__provider-table--grid) {
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.referral-page__provider-table-wrap::-webkit-scrollbar,
.referral-page__provider-table:not(.referral-page__provider-table--grid)::-webkit-scrollbar {
  display: none;
}
.referral-page__provider-table--grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #000;
}
.referral-page__provider-table--grid thead th,
.referral-page__provider-table--grid tbody td {
  width: 50%;
  box-sizing: border-box;
}
.referral-page__provider-table--grid thead th {
  padding: 12px 10px;
  text-align: center;
  font-weight: 600;
  color: #d8b743;
  background: #2b2816;
  border: 1px solid #444;
}
.referral-page__provider-table--grid tbody td {
  padding: 10px 12px;
  border: 1px solid #444;
  background: #000;
  vertical-align: middle;
}
.referral-page__provider-table--grid tbody tr:last-child td {
  border-bottom: 1px solid #444;
}
.referral-page__provider-cell {
  white-space: nowrap;
  text-align: left;
}
.referral-page__provider-category-col {
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.referral-page__provider-table--grid .referral-page__provider-logo {
  display: inline-block;
  width: 36px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  object-fit: contain;
}
.referral-page__provider-table--grid .referral-page__provider-name {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}
.page--rewards .referral-page__sub-panels {
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
}
.page--rewards .referral-page__sub-tabs {
  max-width: 100%;
}
@media (max-width: 768px) {
  .referral-page__sub-panels {
    padding: 0;
  }
}
/* Match profile-drawer__card when legacy referral wallet wrapper is used */
.referral-page__wallet-main {
  background: #151100;
  border-radius: var(--radius-lg);
  padding: 25px 10px 10px 10px;
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: visible;
  display: block;
}
.referral-page__wallet-main::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 24px;
  border-radius: 0 0 14px 14px;
  background: #1f1f1f;
}
.referral-page__wallet-main::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  pointer-events: none;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__provider-card {
  max-width: 100%;
  width: 100%;
  margin: 8px 0 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__provider-title {
  margin: 0 0 8px;
  padding: 0 2px;
  color: #fff;
  font-size: 14px !important;
  font-weight: 500;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__provider-table-wrap {
  max-height: 820px;
  border: 1px solid #444;
  border-radius: 0;
  background: #000;
  overflow-y: auto;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__provider-table--grid thead th {
  height: 44px;
  padding: 0 12px;
  font-size: 14px !important;
  color: #d8b743;
  background: #2b2816;
  border-color: #444;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__provider-table--grid tbody td {
  min-height: 44px;
  font-size: 14px !important;
  color: #fff;
  border-color: #444;
  background: #000;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__provider-table--grid .referral-page__provider-name,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__provider-table--grid .referral-page__provider-category-col {
  font-size: 14px !important;
  letter-spacing: 0;
  line-height: 1.1;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-card {
  margin-top: 8px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-label {
  margin: 0 0 8px;
  color: #e8e8e8;
  font-size: 12px !important;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-range {
  height: 44px;
  border-radius: 10px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1b1c20;
  color: #a2a6ad;
  font-size: 12px !important;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-calendar {
  color: #e8c73c;
  font-size: 16px !important;
  line-height: 1;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-btn {
  height: 46px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px !important;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-btn--clear {
  border: 1px solid #f0d251;
  background: transparent;
  color: #f0f0f0;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-btn--search {
  border: none;
  color: #111;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 45%, #bf8607 100%);
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-card .referral-page__table-wrap {
  margin-top: 10px;
  border: 1px solid #272727;
  border-radius: 10px;
  background: #0c0c0e;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__history-card .referral-page__table-wrap::-webkit-scrollbar {
  display: none;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__table--history {
  min-width: 880px;
  border-collapse: collapse;
  color: #ececec;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__table--history thead th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 500;
  color: #f2f2f2;
  background: #1d1e22;
  border-bottom: 1px solid #2e2e2e;
  white-space: nowrap;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="referral"] .referral-page__table--history .referral-page__table-empty {
  padding: 20px 12px !important;
  text-align: center;
  color: #7d8087;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  color-scheme: dark;
  position: relative;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history[hidden],
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts__main-view[hidden],
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts__head[hidden],
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history[hidden],
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .rewards-lucky__main-view[hidden],
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .rewards-lucky__toolbar[hidden] {
  display: none !important;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__head,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__title,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__title {
  margin: 0;
  font-size: 15px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__filters,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  grid-template-columns: none;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__filters .profile-drawer__history-field,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__filters .profile-drawer__history-actions,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__filters .profile-drawer__history-field,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__filters .profile-drawer__history-actions {
  grid-column: auto;
  max-width: 100%;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__date-wrap,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__date-wrap {
  width: 100%;
  cursor: default;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__date-input,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__date-input {
  width: 100%;
  min-width: 0;
  cursor: pointer;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__date-input::-webkit-calendar-picker-indicator,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__date-input::-webkit-calendar-picker-indicator {
  filter: invert(0.85) sepia(1) saturate(4) hue-rotate(5deg);
  cursor: pointer;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__text-input,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__text-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  cursor: text;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__actions,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__actions {
  margin-top: 2px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__quick-btns,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__quick-btn,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__quick-btn {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 12px;
  font-size: 11px !important;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading {
  min-height: 280px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading .point-gifts-history__head,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading .point-gifts-history__filters,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading .point-gifts-history__table-wrap,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading .point-gifts-history__pagination,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading .point-gifts-history__head,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading .point-gifts-history__filters,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading .point-gifts-history__table-wrap,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading .point-gifts-history__pagination {
  display: none !important;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading .point-gifts-history__loading,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading .point-gifts-history__loading {
  display: flex !important;
  position: absolute;
  inset: 0;
  z-index: 3;
  min-height: 100%;
  margin: 0;
  border-radius: 10px;
  background: #121212;
  align-items: center;
  justify-content: center;
  gap: 7px;
  animation: none;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading .point-gifts-history__loading span,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading .point-gifts-history__loading span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
  animation: history-loading-dot 0.9s ease-in-out infinite;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading .point-gifts-history__loading span:nth-child(2),
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading .point-gifts-history__loading span:nth-child(2) {
  animation-delay: 0.14s;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history.is-loading .point-gifts-history__loading span:nth-child(3),
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history.is-loading .point-gifts-history__loading span:nth-child(3) {
  animation-delay: 0.28s;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__loading[hidden],
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__loading[hidden] {
  display: none !important;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__table-wrap,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__table-wrap {
  margin-top: 4px;
  min-height: 100px;
  border: 1px solid #272727;
  border-radius: 10px;
  background: #0c0c0e;
  overflow-x: auto;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__table,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__table {
  min-width: 980px;
  font-size: 12px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__table thead th,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__table thead th {
  background: #1d1e22;
  border-bottom: 1px solid #2e2e2e;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__table tbody td,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__table tbody td {
  border-bottom: 1px solid #242424;
  white-space: nowrap;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__empty,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__empty {
  padding: 24px 12px !important;
  text-align: center;
  color: #7d8087;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__status--1,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__status--1 {
  color: #f5d67b;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__status--2,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__status--2 {
  color: #7dd87d;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__pagination,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__pagination {
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__page-meta,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__page-meta {
  margin: 0;
  font-size: 11px;
  color: #a3a3a3;
  text-align: center;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__page-actions,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__jump,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__jump-input,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__jump-input {
  width: 44px;
  height: 32px;
  border: 1px solid rgba(249, 217, 78, 0.35);
  border-radius: 6px;
  background: #0a0a0a;
  color: #fff;
  font-size: 12px;
  text-align: center;
  font-family: inherit;
  box-sizing: border-box;
}
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history button,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history button,
.rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .rewards-lucky__history {
  -webkit-appearance: none;
  appearance: none;
}
@media (max-width: 768px) {
  .rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__table,
  .rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__table {
    min-width: 860px;
    font-size: 11px;
  }
  .rewards-page .profile-drawer__rewards-panel[data-rewards-view="point-gifts"] .point-gifts-history__quick-btn,
  .rewards-page .profile-drawer__rewards-panel[data-rewards-view="lucky-wheel"] .point-gifts-history__quick-btn {
    font-size: 10px !important;
    padding: 7px 10px;
  }
}
@media (max-width: 768px) {
  .profile-drawer__rewards-panel {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
}
.referral-page__provider-category {
  height: 22px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfb34b;
  font-size: 10px !important;
  background: #23200f;
  border-top: 1px solid #2f2a16;
  border-bottom: 1px solid #2f2a16;
}
.referral-page__provider-row {
  min-height: 22px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  border-bottom: 1px solid #1e1e1e;
  background: #0b0b0b;
}
.referral-page__provider-logo {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}
.referral-page__provider-name,
.referral-page__provider-type {
  color: #d8d8d8;
  font-size: 9px !important;
  line-height: 1.2;
  white-space: nowrap;
}
.referral-page__provider-type {
  color: #ececec;
}
.referral-page__table-wrap {
  border: 1px solid #504617;
  border-radius: 12px;
  background: #15160f;
  overflow-x: auto;
}
.referral-page__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px !important;
  color: #e8e8e8;
}
.referral-page__table th,
.referral-page__table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #2a2b30;
}
.referral-page__table th {
  color: #9f9f9f;
  font-weight: 600;
  background: #0e0f12;
}
.referral-page__table tbody tr:last-child td {
  border-bottom: none;
}
.referral-page__table-empty {
  text-align: center;
  color: #7a7a7a;
  padding: 24px 12px !important;
}
.referral-page__stats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.referral-page__stat-card {
  border: 1px solid #504617;
  border-radius: 10px;
  background: #15160f;
  padding: 10px 14px;
}
.referral-page__stat-label {
  color: #9f9f9f;
}
.referral-page__stat-value {
  display: block;
  margin-top: 4px;
  color: #f0f0f0;
  font-size: 16px !important;
}
.referral-page__withdraw-btn {
  width: 100%;
  height: 46px;
  border: 1px solid #f9d94e;
  border-radius: 10px;
  margin-top: 12px;
  cursor: pointer;
  color: #151515;
  font-weight: 700;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 38%, #bf8607 100%);
}
.referral-page__share-card {
  margin-top: 12px;
  border: 1px solid #504617;
  border-radius: 12px;
  background: #15160f;
  padding: 10px;
}
.referral-page__tree-card {
  margin-top: 12px;
  border-radius: 12px;
  padding: 10px;
  border: none;
  background: none;
}
@media (max-width: 768px) {
  .referral-page__share-card,
  .referral-page__tree-card {
    padding: 5px;
  }
}
.referral-page__share-top {
  display: flex;
  gap: 12px;
}
.referral-page__qr-wrap {
  width: 96px;
  flex: 0 0 96px;
  background: #f9d94e;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .referral-page__qr-wrap {
    width: 65px;
    flex: 0 0 65px;
  }
}
.referral-page__qr {
  width: 96px;
  height: 96px;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .referral-page__qr {
    width: 65px;
    height: 65px;
  }
}
.referral-page__save-btn {
  width: 100%;
  border: none;
  border-radius: 6px;
  height: 24px;
  color: #202020;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin: 0 auto;
  display: block;
}
@media (max-width: 768px) {
  .referral-page__save-btn {
    font-size: 10px !important;
  }
}
.referral-page__link-side {
  min-width: 0;
  flex: 1;
}
.referral-page__link-title {
  margin: 0 0 6px;
  color: #f0d251;
  font-weight: 700;
}
.referral-page__link-row {
  display: flex;
  gap: 8px;
}
.referral-page__link-input-wrap {
  flex: 1;
  position: relative;
}
.referral-page__link-input {
  width: 100%;
  height: 38px;
  border: 1px solid #3a3c45;
  border-radius: 9px;
  background: #0f1014;
  color: #f0f0f0;
  padding: 0 32px 0 12px;
}
.referral-page__link-caret {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  object-fit: contain;
  pointer-events: none;
}
.referral-page__copy-btn {
  width: 40px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid #3a3c45;
  background: #0f1014;
  cursor: pointer;
}
.referral-page__socials {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}
.referral-page__social {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  text-decoration: none;
  color: #f0f0f0;
  text-align: center;
}
.referral-page__social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .page--rewards .referral-page__socials {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .page--rewards .referral-page__socials::-webkit-scrollbar {
    display: none;
  }
  .page--rewards .referral-page__social {
    min-width: 44px;
  }
  .referral-page__social img {
    width: 25px;
    height: 25px;
  }
}
.referral-page__social span {
  display: block;
  margin-top: 0;
  line-height: 1;
  font-size: 9px !important;
  white-space: nowrap;
}
.icon-share{
  width: 30px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #1f1f1f;
}
@media (max-width: 768px) {
  .icon-share {
    width: 25px;
    height: 25px;
  }
}
.icon-share img{
  width: 15px;
  height: 15px;
}
.referral-page__tree-title {
  margin: 0 0 10px;
  padding: 0;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  box-sizing: border-box;
}
.referral-page__tree-head {
  display: flex;
  gap: 20px;
  padding: 10px;
  border: 1px solid #504617;
  border-radius: 10px;
  background: linear-gradient(to right, #111111, #171300);
}
.referral-page__avatar-wrap {
  width: 80px;
  flex: 0 0 80px;
  position: relative;
}
.referral-page__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.referral-page__avatar--small {
  width: 80px;
  height: 80px;
}
@media (min-width: 769px) {
  .referral-page__avatar--small {
    margin-top: -50px;
  }
}
@media (max-width: 768px) {
  .referral-page__avatar--small {
    margin-top: -55px;
  }
}
.referral-page__tree-summary p {
  margin: 0 0 4px;
  color: #e6e6e6;
}
.referral-page__tree-summary strong,
.referral-page__tree-summary .referral-page__highlight {
  color: #f0d251;
}
.referral-page__tree-link {
  position: relative;
  height: 65px;
  overflow: visible;
}
.referral-page__tree-link-line {
  position: absolute;
  left: 25%;
  right: 25%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: #f0d251;
  border-radius: 999px;
}
.referral-page__tree-link-drop,
.referral-page__tree-link-stem,
.referral-page__tree-link-side {
  position: absolute;
  width: 2px;
  background: #f0d251;
  border-radius: 999px;
}
.referral-page__tree-link-drop::before,
.referral-page__tree-link-drop::after,
.referral-page__tree-link-stem::before,
.referral-page__tree-link-stem::after,
.referral-page__tree-link-side::before,
.referral-page__tree-link-side::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0d251;
  transform: translateX(-50%);
}
.referral-page__tree-link-drop::before,
.referral-page__tree-link-stem::before,
.referral-page__tree-link-side::before {
  top: -3px;
}
.referral-page__tree-link-drop::after,
.referral-page__tree-link-stem::after,
.referral-page__tree-link-side::after {
  bottom: -3px;
}
.referral-page__tree-link-drop--left {
  left: 25%;
  transform: translateX(-50%);
}
.referral-page__tree-link-drop--right {
  right: 25%;
  transform: translateX(50%);
}
.referral-page__tree-link--top .referral-page__tree-link-drop {
  top: 50%;
  height: 30px;
}
.referral-page__tree-link--bottom .referral-page__tree-link-drop {
  bottom: 50%;
  height: 35px;
}
.referral-page__tree-link-stem {
  left: 50%;
  transform: translateX(-50%);
  height: 27px;
}
.referral-page__tree-link-stem--up {
  top: 5px;
}
.referral-page__tree-link-stem--down {
  bottom: 5px;
}
.referral-page__tree-link-side {
  top: 13px;
  height: 70px;
}
.referral-page__tree-link-side--left {
  left: 10%;
}
.referral-page__tree-link-side--right {
  right: 10%;
}
.referral-page__tree-link--top {
  margin: 2px 0 8px;
}
.referral-page__tree-link--top .referral-page__tree-link-side::before {
  content: "↑";
  width: auto;
  height: auto;
  background: transparent;
  color: #f0d251;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1;
  top: -5px;
}
.referral-page__tree-link--bottom {
  margin: 8px 0 10px;
}
/* Hide junction dots on horizontal bar only (left / center / right), per design */
.referral-page__tree-link--top .referral-page__tree-link-drop--left::before,
.referral-page__tree-link--top .referral-page__tree-link-drop--right::before,
.referral-page__tree-link--top .referral-page__tree-link-stem::after {
  content: none;
  display: none;
}
.referral-page__tree-link--bottom .referral-page__tree-link-drop--left::after,
.referral-page__tree-link--bottom .referral-page__tree-link-drop--right::after,
.referral-page__tree-link--bottom .referral-page__tree-link-stem::before {
  content: none;
  display: none;
}
.referral-page__tree-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 52px;
}
@media (max-width: 768px) {
  .referral-page__tree-mid {
    margin-top: 29px;
  }
}
.referral-page__member-card,
.referral-page__tree-bottom {
  border: 1px solid #383a42;
  border-radius: 10px;
  background: #22242a;
  text-align: center;
  padding: 10px 8px;
  position: relative;
}
.referral-page__leader-badge,
.referral-page__member-badge {
  position: absolute;
  top: 66px;
  right: calc(50% - 40px);
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0aaec8;
  color: #fff;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
}
.referral-page__member-badge {
  top: 15px;
}
.referral-page__member-badge--n {
  background: #ef3f3f;
}
.referral-page__member-card p,
.referral-page__tree-bottom p {
  margin: 4px 0 0;
  color: #dedede;
}
.referral-page__member-card strong {
  color: #f0d251;
}
@media (max-width: 768px) {
  .referral-page__member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 10px 12px;
    border: none;
    border-radius: 10px;
    background: #22242a;
    overflow: visible;
    box-sizing: border-box;
  }
  .referral-page__member-card .referral-page__avatar--small {
    width: 56px;
    height: 56px;
    margin-top: -55px;
    margin-bottom: 6px;
    flex-shrink: 0;
  }
  .referral-page__member-card .referral-page__member-badge {
    top: 15px;
    right: calc(50% - 26px);
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 10px !important;
  }
  .referral-page__member-card p {
    margin: 2px 0 0;
    color: #ffffff;
    font-size: 11px !important;
    line-height: 1.35;
    text-align: center;
  }
  .referral-page__member-card p:last-child,
  .referral-page__member-card p:last-child strong {
    color: #f0d251;
  }
}
.referral-page__tree-bottom {
  margin-top: 45px;
  border-color: #504617;
  background: #1b1c1a;
}
.rebate-board {
  width: 100%;
  max-width: 670px;
  border: 1px solid #8f791f;
  border-radius: 16px;
  background: #0f1012;
  padding: 12px 14px 14px;
}
.rebate-board__section + .rebate-board__section {
  margin-top: 12px;
}
.rebate-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.rebate-board__title {
  margin: 0;
  color: #f2f2f2;
  font-size: 12px !important;
  font-weight: 700;
}
.rebate-board__refresh {
  border: none;
  background: transparent;
  color: #9ea2a9;
  font-size: 14px !important;
  line-height: 1;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.rebate-board__card {
  border-radius: 12px;
  background: linear-gradient(180deg, #1e1f24 0%, #1a1b20 100%);
  padding: 14px 14px 16px;
}
.rebate-board__summary {
  margin: 0 0 8px;
  color: #f3f3f3;
  font-size: 12px !important;
  font-weight: 500;
}
.rebate-board__amount {
  margin: 0;
  text-align: center;
  color: #f5f5f5;
  font-size: 12px !important;
  font-weight: 700;
}
.rebate-board__remains {
  margin: 4px 0 10px;
  text-align: center;
  color: #9ea2a9;
  font-size: 12px !important;
}
.rebate-board__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8f9399;
  font-size: 12px !important;
  margin-bottom: 10px;
}
.rebate-board__total-row strong {
  color: #a5a9af;
  font-weight: 700;
}
.rebate-board__action {
  width: 100%;
  height: 40px;
  border: 1px solid #F9D94E;
  border-radius: 10px;
  cursor: pointer;
  color: #111;
  font-size: 12px !important;
  font-weight: 700;
  background: linear-gradient(180deg, #f9d94e 0%, #c8860b 100%);
}
.challenges-board {
  width: 100%;
  max-width: 680px;
}
.challenges-board__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #1a1b20;
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 12px;
}
.challenges-board__tab {
  border: none;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  color: #efefef;
  font-size: 12px !important;
  font-weight: 500;
  cursor: pointer;
}
.challenges-board__tab.is-active {
  background: #3f4147;
}
.challenges-board__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.challenges-board__grid[hidden] {
  display: none !important;
}
.challenges-board__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 12px;
  color: rgba(255, 255, 255, 0.65);
}
.challenge-card {
  position: relative;
  display: flex;
  gap: 10px;
  border: 1px solid #7f6a1a;
  border-radius: 16px;
  background: #101113;
  padding: 14px 12px 12px;
}
.challenge-card[hidden] {
  display: none !important;
}
.challenge-card__thumb {
  width: 98px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.challenge-card__content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.challenge-card__title {
  margin: 0 0 4px;
  color: #f3f3f3;
  font-size: 12px !important;
  font-weight: 700;
}
.challenge-card__desc {
  margin: 0 0 8px;
  color: #c3c5cb;
  font-size: 12px !important;
  line-height: 1.25;
}
.challenge-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 4px;
  color: #c8c9cd;
  font-size: 12px !important;
}
.challenge-card__meta strong {
  color: #f0d449;
  font-weight: 700;
}
.challenge-card__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.challenge-card__action {
  width: 100%;
  height: 34px;
  border: 1px solid #f9d94e;
  border-radius: 8px;
  cursor: pointer;
  color: #111;
  font-size: 12px !important;
  font-weight: 700;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 40%, #bf8607 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.challenge-card__action--tc {
  border-color: rgba(249, 217, 78, 0.45);
  color: #f3f3f3;
  background: #2a2c33;
}
.challenge-card__action--play:hover,
.challenge-card__action--tc:hover {
  text-decoration: none;
  filter: brightness(1.05);
}
.challenge-card__timer {
  position: absolute;
  left: 14px;
  top: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(38, 40, 46, 0.9);
  color: #f3f3f3;
  font-size: 10px !important;
  font-weight: 600;
}
.challenge-terms-modal[hidden] {
  display: none !important;
}
.challenge-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 15090;
  display: grid;
  place-items: center;
}
.challenge-terms-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}
.challenge-terms-modal__panel {
  position: relative;
  z-index: 2;
  width: min(600px, calc(100vw - 16px));
  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  border: 1px solid #f1cc42;
  border-radius: 14px;
  background: #101113;
  color: #fff;
  overflow: hidden;
}
.challenge-terms-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(241, 204, 66, 0.25);
}
.challenge-terms-modal__title {
  margin: 0;
  color: #f1cc42;
  font-size: 14px !important;
  font-weight: 700;
}
.challenge-terms-modal__close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.challenge-terms-modal__body {
  padding: 16px;
  overflow: auto;
  font-size: 12px !important;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}
.challenge-terms-modal__body img {
  max-width: 100%;
  height: auto;
}
body.challenge-terms-modal-open {
  overflow: hidden;
}
.tournament-board {
  width: 100%;
  max-width: 680px;
}
.tournament-board__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tournament-board__dropdown,
.tournament-board__history {
  height: 40px;
  border: none;
  border-radius: 20px;
  background: #1f2127;
  color: #efefef;
  font-size: 12px !important;
  font-weight: 500;
  padding: 0 25px;
  cursor: pointer;
}
.tournament-board__history {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tournament-board__history-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.tournament-board__dropdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tournament-board__caret {
  font-size: 10px !important;
}
.tournament-board__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tournament-card {
  border-radius: 16px;
  border: 1px solid #292b33;
  overflow: hidden;
  background: #15161c;
  cursor: pointer;
}
.tournament-card__cover {
  position: relative;
  min-height: 180px;
}
.tournament-card__img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.tournament-card__overlay {
  position: absolute;
  inset: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(90deg, rgba(9, 9, 10, 0.9) 0%, rgba(9, 9, 10, 0.45) 42%, rgba(9, 9, 10, 0.1) 72%, rgba(9, 9, 10, 0) 100%);
}
.tournament-card__title {
  margin: 0;
  color: #f3f3f3;
  font-size: 12px !important;
  font-weight: 700;
}
.tournament-card__daily {
  margin: 2px 0 8px;
  color: #20d950;
  font-size: 12px !important;
  font-weight: 700;
}
.tournament-card__pool-label {
  margin: 0;
  color: #d6d8dc;
  font-size: 12px !important;
}
.tournament-card__pool-value {
  margin: 2px 0 0;
  color: #f0c830;
  font-size: 12px !important;
  font-weight: 700;
}
.tournament-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: #242429;
  padding: 12px 14px;
}
.tournament-card__round-title {
  margin: 0 0 2px;
  color: #f2f2f2;
  font-size: 12px !important;
  font-weight: 700;
}
.tournament-card__round-date {
  margin: 0;
  color: #c8cacf;
  font-size: 12px !important;
}
.tournament-card__countdown {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.tournament-card__time-box {
  min-width: 48px;
  border-radius: 6px;
  background: #3b3d43;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 4px 4px;
  position: relative;
}
.tournament-card__time-box:not(:last-child)::before {
  content: ":";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-52%);
  color: #7f8288;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1;
}
.tournament-card__time-box strong {
  color: #f3f3f3;
  font-size: 12px !important;
  line-height: 1;
}
.tournament-card__time-box em {
  margin-top: 4px;
  color: #a5a9af;
  font-style: normal;
  font-size: 9px !important;
  line-height: 1;
}
.tournament-card__time-box:first-child::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #1dd85a;
  border-radius: 2px;
}

.tournament-jackpot-popup {
  position: fixed;
  inset: 0;
  z-index: 12002;
  display: grid;
  place-items: center;
  padding: 12px;
}
.tournament-jackpot-popup[hidden] {
  display: none;
}
.tournament-jackpot-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.tournament-jackpot-popup__panel {
  position: relative;
  z-index: 1;
  width: min(600px, calc(100vw - 20px));
  max-height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  border: 1px solid #e6c02a;
  border-radius: 14px;
  background: #000;
  color: #f0f0f0;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.tournament-jackpot-popup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 8px;
  flex-shrink: 0;
}
.tournament-jackpot-popup__head-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.tournament-jackpot-popup__back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.tournament-jackpot-popup__back-ico {
  display: block;
  width: 24px;
  height: 24px;
}
.tournament-jackpot-popup__title {
  margin: 0;
  color: #fff;
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.2;
}
.tournament-jackpot-popup__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tournament-jackpot-popup__history {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 16px;
  background: #2a2c32;
  color: #fff;
  font-size: 11px !important;
  font-weight: 600;
  cursor: pointer;
}
.tournament-jackpot-popup__history-icon {
  object-fit: contain;
}
.tournament-jackpot-popup__close {
  border: none;
  background: transparent;
  color: #fff;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 28px !important;
  line-height: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.tournament-jackpot-popup__close-ico {
  display: block;
  width: 18px;
  height: 18px;
}
.tournament-jackpot-popup__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px 12px;
}
.tournament-jackpot-popup__body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.tournament-jackpot-popup__featured {
  position: relative;
  margin-bottom: 10px;
}
.tournament-jackpot-popup__featured-viewport {
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.tournament-jackpot-popup__featured-track {
  display: flex;
  width: calc(100% * var(--jackpot-featured-slides, 1));
  transition: transform 0.35s ease;
  will-change: transform;
}
.tournament-jackpot-popup__featured-track .tournament-jackpot-popup__banner {
  flex: 0 0 calc(100% / var(--jackpot-featured-slides, 1));
  width: calc(100% / var(--jackpot-featured-slides, 1));
  max-width: calc(100% / var(--jackpot-featured-slides, 1));
  box-sizing: border-box;
}
.tournament-jackpot-popup__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 5px;
  background: #64571f;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
}
.tournament-jackpot-popup__arrow--prev {
  left: -10px;
}
.tournament-jackpot-popup__arrow--next {
  right: -10px;
}
.tournament-jackpot-popup__arrow:hover {
  filter: brightness(1.05);
}
.tournament-jackpot-popup__arrow img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0);
}
.tournament-jackpot-popup__banner {
  position: relative;
  border-radius: 12px;
  overflow: visible;
  min-height: 158px;
  background:
    radial-gradient(ellipse 95% 110% at 96% 40%, rgba(120, 28, 38, 0.5) 0%, rgba(50, 12, 18, 0.22) 45%, transparent 62%),
    #080809;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.tournament-jackpot-popup__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(6, 6, 8, 0.92) 0%, rgba(6, 6, 8, 0.55) 36%, rgba(6, 6, 8, 0.12) 58%, transparent 78%);
  pointer-events: none;
  z-index: 1;
}
.tournament-jackpot-popup__banner-bg {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #121214;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}
.tournament-jackpot-popup__banner-inner {
  position: relative;
  z-index: 2;
  display: block;
  padding: 16px 25px 38px;
  min-height: 225px;
  border: 1px solid #1e1e1e;
  border-radius: 20px;
}
.tournament-jackpot-popup__banner-title {
  margin: 0;
  color: #fff;
  font-size: 13px !important;
  font-weight: 800;
}
.tournament-jackpot-popup__banner-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 56%;
}
.tournament-jackpot-popup__banner-daily {
  margin: 2px 0 6px;
  color: #2ee86a;
  font-size: 11px !important;
  font-weight: 700;
}
.tournament-jackpot-popup__banner-round {
  margin: 0 0 8px;
  color: #ffd54a;
  font-size: 11px !important;
  font-weight: 700;
}
.tournament-jackpot-popup__countdown-wrap {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 8px;
}
.tournament-jackpot-popup__countdown {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 6px;
}
.tournament-jackpot-popup__time-box {
  min-width: 50px;
  border-radius: 5px;
  background: rgba(42, 44, 50, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  position: relative;
  text-align: center;
}
.tournament-jackpot-popup__time-box:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 3px;
  height: 3px;
  margin-top: -5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 7px 0 #fff;
  pointer-events: none;
  z-index: 1;
}
.tournament-jackpot-popup__time-box strong {
  display: block;
  color: #fff;
  font-size: 14px !important;
  font-weight: 800;
  line-height: 1.15;
  padding: 6px 5px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
}
.tournament-jackpot-popup__time-box em {
  display: block;
  margin: 0;
  padding: 5px 4px 6px;
  color: #b4b8bf;
  font-style: normal;
  font-size: 8px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  background: rgba(0, 0, 0, 0.18);
}
.tournament-jackpot-popup__countdown-bar {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #2c2e34;
  overflow: hidden;
  margin: 0;
}
.tournament-jackpot-popup__countdown-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #16c454 0%, #2ee86a 100%);
  box-shadow: 0 0 8px rgba(46, 232, 106, 0.35);
}
.tournament-jackpot-popup__banner-finish {
  margin: 0;
  color: #f0f0f0;
  font-size: 10px !important;
  font-weight: 500;
}
.tournament-jackpot-popup__prize-badge {
  position: absolute;
  left: 42%;
  bottom: 0;
  transform: translate(-50%, 0%);
  z-index: 5;
  display: block;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 18px rgba(255, 190, 50, 0.12));
}
.tournament-jackpot-popup__prize-badge-core {
  position: relative;
  z-index: 1;
  padding: 10px 100px;
  text-align: center;
  background: url("../images/promotion/tournament/popup/bg-price.png") no-repeat center;
  background-size: 100% 100%;
  display: block;
}
.tournament-jackpot-popup__prize-badge-label {
  display: block;
  color: #fff;
  font-size: 9px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tournament-jackpot-popup__prize-badge-value {
  display: block;
  margin-top: 5px;
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(
    180deg,
    #fffef5 0%,
    #fff4c8 14%,
    #ffe566 38%,
    #ffcc22 58%,
    #e89a18 78%,
    #b86a0a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.65)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}
.tournament-jackpot-popup .tournament-jackpot-popup__tabs {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 2px;
  margin: 22px 0 10px;
  padding: 6px;
  border-radius: 999px;
  background: #1e1e1e;
  box-sizing: border-box;
}
.tournament-jackpot-popup .tournament-jackpot-popup__tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0 6px;
  margin: 0;
  background: transparent;
  color: #ffffff;
  font-size: 12px !important;
  font-weight: 500;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.tournament-jackpot-popup .tournament-jackpot-popup__tab.is-active {
  background: #3b3b3b;
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.tournament-jackpot-popup .tournament-jackpot-popup__tab-panels {
  margin: 2px -12px 0;
  padding: 0 12px 4px;
  background: #000000;
  border-radius: 0;
  box-sizing: border-box;
}
.tournament-jackpot-popup__tab-panel[hidden] {
  display: none !important;
}
.tournament-jackpot-popup .tournament-jackpot-popup__tab-panel {
  padding: 0 2px;
}
.tournament-jackpot-popup .tournament-jackpot-popup__placeholder {
  margin: 0;
  padding: 14px 6px 18px;
  color: #c8cacf;
  font-size: 11px !important;
  line-height: 1.45;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rules-jackpot {
  padding: 14px 10px 18px;
  color: #ffffff;
  background: #121212;
  border-radius: 15px;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rules-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px !important;
  line-height: 1.25;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rules-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #ffffff;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.45;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rules-list li {
  margin: 0;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rules-copy {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.45;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rules-copy:last-child {
  margin-bottom: 0;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-jackpot {
  margin: 0;
  padding: 0 0 8px;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-jackpot-scroll {
  position: relative;
  border: 1px solid #364240;
  box-sizing: border-box;
  isolation: isolate;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-jackpot-scroll::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../images/promotion/tournament/popup/betting-rank-jackpot.png") center center / cover no-repeat;
  opacity: 0.42;
  filter: blur(7px);
  transform: scale(1.06);
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  color: #fff;
  table-layout: fixed;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-table thead th {
  padding: 10px 8px;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e8c547;
  text-align: center;
  vertical-align: middle;
  background: #1f1b0d;
  border-top: 1px solid #364240;
  border-bottom: 1px solid #364240;
  border-left: none;
  border-right: none;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-table thead th:first-child {
  text-align: center;
  width: 58%;
  border-right: 1px solid #364240;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-table tbody td {
  padding: 9px 10px;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.35;
  vertical-align: middle;
  border-bottom: 1px solid #364240;
  border-left: none;
  border-right: none;
  text-transform: uppercase;
  color: #f0f2f1;
  background: rgba(12, 14, 13, 0.58);
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-table tbody td:first-child:not(:only-child) {
  text-align: left;
  border-right: 1px solid #364240;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-table tbody td:nth-child(2),
.tournament-jackpot-popup .tournament-jackpot-popup__games-table tbody td:only-child {
  text-align: center;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-logo {
  width: 35px;
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-provider-cell {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}
.tournament-jackpot-popup .tournament-jackpot-popup__games-provider-cell > span {
  min-width: 0;
  flex: 1 1 auto;
  word-break: break-word;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
}
.tournament-jackpot-popup .tournament-jackpot-popup__podium {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 4px 0 16px;
  padding: 4px 0 0;
  box-sizing: border-box;
  min-height: 0;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 150px;
  text-align: center;
  height: 142px;
  background: url("../images/promotion/tournament/popup/bgdiamond.png") no-repeat center;
  background-size: 100% 100%;
  display: block;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank1 {
  order: 2;
  flex: 1.12 1 0;
  max-width: 132px;
  height: 165px;
  z-index: 1;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank2,
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank3 {
  height: 142px;
  margin-top: 17px;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank2 {
  order: 1;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank3 {
  order: 3;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield-bg {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  line-height: 0;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield-img {
  width: 100%;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 0.6px #e8c547) drop-shadow(0 0 0.6px #c9a227)
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank1 .tournament-jackpot-popup__shield-img {
  max-width: 128px;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank2 .tournament-jackpot-popup__shield-img,
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank3 .tournament-jackpot-popup__shield-img {
  max-width: 96px;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield-body {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 10%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  pointer-events: none;
  padding-bottom: 20px;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield-user {
  margin: 0;
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield-meta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgb(49 30 2);
  border: 1px solid rgb(221 169 39);
  color: #fff;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.2;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield-meta img {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  object-fit: contain;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield--rank1 .tournament-jackpot-popup__shield-prize {
  font-size: 13px !important;
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield-prize {
  margin: 8px 0 auto;
  color: #fdb813;
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.tournament-jackpot-popup .tournament-jackpot-popup__shield-pct {
  margin: 0;
  margin-top: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1.2;
}
.tournament-jackpot-popup .tournament-jackpot-popup__ranks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1c1814 0%, #141210 100%);
  border: 1px solid rgba(232, 185, 35, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-num {
  color: #fdb813;
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-mid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-user {
  color: #fff;
  font-size: 11px !important;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: #0f0f0f;
  border: 1px solid #3b3415;
  color: #fff;
  font-size: 10px !important;
  font-weight: 700;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-chip img {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  object-fit: contain;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-prize {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  text-align: right;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-amount {
  display: block;
  color: #fdb813;
  font-size: 11px !important;
  font-weight: 800;
  line-height: 1.2;
}
.tournament-jackpot-popup .tournament-jackpot-popup__rank-pct {
  display: block;
  margin-top: 0;
  color: #ffffff;
  font-size: 9px !important;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.95;
}
.tournament-jackpot-popup .tournament-jackpot-popup__full-table {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: #2e2e2e;
  color: #fff;
  font-size: 12px !important;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}
.tournament-jackpot-popup .tournament-jackpot-popup__full-table:hover {
  background: #3a3a3a;
}
.tournament-jackpot-popup .tournament-jackpot-popup__full-table img {
  display: block;
  width: 12px;
  height: 12px;
  object-fit: contain;
  flex-shrink: 0;
}
.tournament-jackpot-popup__footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px;
  border-top: 1px solid #22242a;
  background: #050505;
}
.tournament-jackpot-popup__footer-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: #c8cacf;
  font-size: 12px !important;
  line-height: 1.35;
  font-weight: 500;
}
.tournament-jackpot-popup__play {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #f9d94e 0%, #c8860b 100%);
  color: #111;
  font-size: 11px !important;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
body.tournament-jackpot-popup-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .tournament-jackpot-popup {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }
  .tournament-jackpot-popup__backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .tournament-jackpot-popup.is-open .tournament-jackpot-popup__backdrop {
    opacity: 1;
  }
  .tournament-jackpot-popup__panel {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100dvh;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .tournament-jackpot-popup.is-open .tournament-jackpot-popup__panel {
    transform: translateY(0);
  }
  .tournament-jackpot-popup__head {
    padding: 10px 12px 8px;
    background: #000;
  }
  .tournament-jackpot-popup__back {
    display: inline-flex;
  }
  .tournament-jackpot-popup__head-left {
    gap: 2px;
  }
  .tournament-jackpot-popup__title {
    font-size: 17px !important;
    font-weight: 700;
  }
  .tournament-jackpot-popup__history {
    height: 34px;
    padding: 0 14px;
    border-radius: 18px;
    background: #2a2c32;
    font-size: 12px !important;
  }
  .tournament-jackpot-popup__close {
    display: none;
  }
  .tournament-jackpot-popup__banner-copy {
    max-width: 100%;
  }
  .tournament-jackpot-popup .tournament-jackpot-popup__shield-prize,
  .tournament-jackpot-popup .tournament-jackpot-popup__shield--rank1 .tournament-jackpot-popup__shield-prize {
    font-size: 14px !important;
  }
}

.promotion-side {
  flex: 0 0 165px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promotion-side__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  background: linear-gradient(180deg, #1f2329 0%, #171b20 100%);
  border: 1px solid #292d33;
}
.promotion-side__item.is-active {
  color: #111;
  border-color: #f0cb47;
  background: linear-gradient(180deg, #f5d550 0%, #dba715 100%);
}
.promotion-side__item--outlined {
  border-color: #f0cb47;
}
.promotion-side__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.promotion-list {
  width: 100%;
  max-width: 490px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.promotion-list__empty,
.promotion-history__empty {
  margin: 0;
  padding: 24px 12px;
  color: #9aa0a6;
  font-size: 14px;
  text-align: center;
}
.promotion-history {
  width: 100%;
  max-width: 100%;
}
.promotion-history__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.promotion-history__table-wrap {
  overflow-x: auto;
}
.promotion-history__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.promotion-history__table th,
.promotion-history__table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ddd;
  text-align: left;
  white-space: nowrap;
}
.promotion-history__table th {
  color: #f5c928;
  font-weight: 700;
}
.promotion-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6c02a;
  border-radius: 12px;
  overflow: hidden;
  background: #050505;
}
.promotion-card__brand {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 0 0 10px 0;
  background: linear-gradient(180deg, #ffe566 0%, #f5c928 100%);
  color: #d32f2f;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.promotion-card__brand-flame {
  width: 12px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}
.promotion-card__stage {
  position: relative;
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  line-height: 0;
  cursor: pointer;
  touch-action: manipulation;
}
.promotion-card__banner-full {
  width: 100%;
  height: auto;
  display: block;
}
.promotion-card__cta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: block;
  box-sizing: border-box;
  width: auto;
  margin: 0;
  text-align: center;
  text-decoration: none;
  color: #0a0a0a;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 35%, #d68910 88%, #c87f0a 100%);
  border: none;
  border-radius: 8px;
  font-size: 12px !important;
  line-height: 36px;
  font-weight: 600;
}
.promotion-card--split-actions .promotion-card__cta {
  display: none;
}
.promotion-card__actions {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.promotion-card__action {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  line-height: 28px;
  font-size: 12px !important;
  font-weight: 500;
}
.promotion-card__action--muted {
  color: #f2f2f2;
  background: #2f3339;
}
.promotion-card__action--apply {
  color: #0a0a0a;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 35%, #d68910 88%, #c87f0a 100%);
}
.promotion-popup {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.promotion-popup[hidden] {
  display: none;
  pointer-events: none;
}
.promotion-popup:not([hidden]) {
  pointer-events: auto;
}
.promotion-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  pointer-events: auto;
}
.promotion-popup__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
  width: min(640px, calc(100vw - 24px));
  max-height: min(92vh, 760px);
  border: 1px solid #f1ca3f;
  border-radius: 18px;
  background: #070707;
  color: #f0f0f0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.promotion-popup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 8px;
}
.promotion-popup__head-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
.promotion-popup__back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.promotion-popup__back-ico {
  display: block;
  width: 24px;
  height: 24px;
}
.promotion-popup__title {
  margin: 0;
  color: #f4d44f;
  font-size: 12px !important;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promotion-popup__close {
  border: none;
  background: transparent;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 34px !important;
  line-height: 1;
  display: grid;
  place-items: center;
}
.promotion-popup__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 14px;
}
.promotion-popup__body::-webkit-scrollbar {
  width: 7px;
}
.promotion-popup__body::-webkit-scrollbar-thumb {
  background: #3a3f47;
  border-radius: 999px;
}
.promotion-popup__body::-webkit-scrollbar-track {
  background: transparent;
}
.promotion-popup__footer {
  flex: 0 0 auto;
  background: #17181d;
  border-top: 1px solid #2f343c;
}
.promotion-popup__footer-text {
  display: none;
  margin: 0;
  color: #c8cacf;
  font-size: 12px !important;
  line-height: 1.35;
  font-weight: 500;
}
.promotion-popup__subtitle {
  margin: 2px 0 10px;
  color: #f6f6f6;
  font-size: 12px !important;
  font-weight: 700;
}
.promotion-popup__text {
  margin: 0 0 10px;
  color: #e4e4e4;
  font-size: 12px !important;
  line-height: 1.45;
}
.promotion-popup__text--dense {
  margin-bottom: 8px;
}
.promotion-popup__section-title {
  margin: 12px 0 10px;
  color: #f4d44f;
  font-size: 12px !important;
  font-weight: 700;
}
.promotion-popup__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #333333;
  margin-bottom: 10px;
  background: #000000;
}
.promotion-popup__table th,
.promotion-popup__table td {
  border: 1px solid #333333;
  text-align: center;
  padding: 15px 10px;
  vertical-align: middle;
  font-size: 12px !important;
  line-height: 1.4;
}
.promotion-popup__table th {
  background: #1a1a10;
  color: #d4af37;
  font-weight: 600;
}
.promotion-popup__table td {
  background: #000000;
  color: #ffffff;
  font-weight: 500;
}
.promotion-popup__table th:first-child,
.promotion-popup__table td:first-child {
  width: 28%;
}
.promotion-popup__table th:nth-child(2),
.promotion-popup__table td:nth-child(2) {
  width: 50%;
}
.promotion-popup__table th:last-child,
.promotion-popup__table td:last-child {
  width: 22%;
}
.promotion-popup__list {
  margin: 0 0 10px;
  padding-left: 16px;
  color: #e8e8e8;
}
.promotion-popup__list li {
  margin: 0 0 6px;
  line-height: 1.45;
  font-size: 12px !important;
}
.promotion-popup__list--ordered {
  padding-left: 18px;
}
.promotion-popup__more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 6px;
}
.promotion-popup__mini-card {
  display: block;
  text-decoration: none;
  line-height: 0;
}
.promotion-popup__mini-thumb {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid #e6c02a;
  border-radius: 9px;
  overflow: hidden;
  background: #0a0a0a;
}
.promotion-popup__mini-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 16px;
  padding: 1px 7px 1px 5px;
  border-radius: 0 0 8px 0;
  background: linear-gradient(180deg, #ffe566 0%, #f5c928 100%);
  color: #d32f2f;
  font-size: 8px !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.promotion-popup__mini-badge img {
  width: 8px;
  height: 10px;
  object-fit: contain;
}
.promotion-popup__mini-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.promotion-popup__request {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border-radius: 0;
  padding: 8px 10px;
  margin: 0;
}
.promotion-popup__request-text strong {
  color: #f8d448;
  font-weight: 700;
}
.promotion-popup__request-icon {
  color: #f8d448;
  font-size: 14px !important;
}
.promotion-popup__request-link {
  color: #f8d448;
  font-weight: 600;
}
.promotion-popup__actions {
  display: flex;
  gap: 14px;
  background: transparent;
  padding: 10px 14px 12px;
}
.promotion-popup__btn {
  flex: 1;
  border: none;
  border-radius: 10px;
  height: 42px;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 600;
}
.promotion-popup__btn--back {
  color: #ededed;
  background: #3d3d40;
}
.promotion-popup__btn--apply {
  color: #121212;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 35%, #d68910 88%, #c87f0a 100%);
}
.redeem-popup {
  position: fixed;
  inset: 0;
  z-index: 12100;
  display: grid;
  place-items: center;
  padding: 16px;
}
.redeem-popup[hidden] {
  display: none;
  pointer-events: none;
}
.redeem-popup:not([hidden]) {
  pointer-events: auto;
}
.redeem-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
}
.redeem-popup__panel {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100vw - 24px));
  border: 1px solid #e6c02a;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 68% at 20% -10%, rgba(132, 87, 18, 0.52) 0%, transparent 60%),
    radial-gradient(120% 58% at 82% -12%, rgba(132, 87, 18, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #0f0d08 0%, #070707 100%);
  padding: 14px 16px 14px;
}
.redeem-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 42px !important;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.redeem-popup__hero {
  height: 42px;
}
.redeem-popup__gift {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 10px;
  object-fit: contain;
}
.redeem-popup__title {
  margin: 0 0 12px;
  text-align: center;
  color: #f6f6f6;
  font-size: 12px !important;
  font-weight: 700;
}
.redeem-popup__text {
  margin: 0 0 6px;
  text-align: center;
  color: #efefef;
  line-height: 1.35;
  font-size: 12px !important;
}
.redeem-popup__form {
  margin-top: 12px;
}
.redeem-popup__label {
  display: none;
}
.redeem-popup__input {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: #1f2126;
  color: #f4f4f4;
  padding: 0 16px;
  outline: none;
  font-size: 12px !important;
}
.redeem-popup__input::placeholder {
  color: #9ca0a8;
}
.redeem-popup__submit {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: #111;
  font-size: 12px !important;
  font-weight: 600;
  background: linear-gradient(180deg, #73611f 0%, #694f10 45%, #6c5212 100%);
}
body.promotion-popup-open {
  overflow: hidden;
}
@media (max-width: 1024px) {
  .promotion-board__tab {
    font-size: 20px;
  }
  .promotion-board__body {
    flex-direction: column;
  }
  .promotion-side {
    width: 100%;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .promotion-side__item {
    font-size: 16px;
    min-height: 52px;
  }
  .promotion-list {
    max-width: none;
  }
  .rebate-board {
    max-width: none;
    padding: 10px;
    border-radius: 14px;
  }
  .challenges-board {
    max-width: none;
  }
  .tournament-board {
    max-width: none;
  }
  .challenges-board__grid {
    grid-template-columns: 1fr;
  }
  .tournament-card__cover {
    min-height: 150px;
  }
  .tournament-card__img {
    min-height: 150px;
  }
  .tournament-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .rebate-board__card {
    padding: 12px;
  }
  .promotion-card__cta {
    left: 8px;
    right: 8px;
    bottom: 8px;
    line-height: 34px;
  }
  .promotion-card__actions {
    left: 6px;
    right: 6px;
    bottom: 6px;
    gap: 6px;
  }
  .promotion-card__action {
    line-height: 26px;
  }
  .promotion-popup {
    padding: 10px;
  }
  .promotion-popup__panel {
    width: min(640px, calc(100vw - 12px));
    border-radius: 14px;
    max-height: 95vh;
  }
  .promotion-popup__head {
    padding: 10px 12px 6px;
  }
  .promotion-popup__body {
    padding: 0 12px 10px;
  }
  .promotion-popup__more {
    gap: 6px;
  }
  .promotion-popup__actions {
    gap: 8px;
    padding: 8px 10px 10px;
  }
  .promotion-popup__btn {
    height: 38px;
  }
  .redeem-popup {
    padding: 10px;
  }
  .redeem-popup__panel {
    width: min(480px, calc(100vw - 12px));
    border-radius: 14px;
    padding: 12px;
  }
  .redeem-popup__gift {
    width: 72px;
    height: 72px;
    margin-bottom: 8px;
  }
  .redeem-popup__input {
    height: 44px;
  }
  .redeem-popup__submit {
    height: 42px;
  }
}
/* Freebet / Challenges detail popup — same full-screen sheet as tournament on mobile */
@media (max-width: 768px) {
  .promotion-popup {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }
  .promotion-popup__backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .promotion-popup.is-open .promotion-popup__backdrop {
    opacity: 1;
  }
  .promotion-popup__panel {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100dvh;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #000;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .promotion-popup.is-open .promotion-popup__panel {
    transform: translateY(0);
  }
  .promotion-popup__head {
    padding: 10px 12px 8px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    background: #000;
    min-height: 52px;
    box-sizing: border-box;
  }
  .promotion-popup__back {
    display: inline-flex;
  }
  .promotion-popup__head-left {
    gap: 2px;
  }
  .promotion-popup__title {
    font-size: 17px !important;
    font-weight: 700;
    color: #fff;
    white-space: normal;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .promotion-popup__close {
    display: none;
  }
  .promotion-popup__body {
    background: #000;
    padding: 8px 16px 24px;
  }
  .promotion-popup__subtitle {
    margin: 4px 0 14px;
    color: #fff;
    font-size: 15px !important;
    font-weight: 700;
  }
  .promotion-popup__content {
    color: #fff;
  }
  .promotion-popup__content,
  .promotion-popup__content p,
  .promotion-popup__content li,
  .promotion-popup__content td,
  .promotion-popup__content th,
  .promotion-popup__content span,
  .promotion-popup__text {
    font-size: 13px !important;
    line-height: 1.55;
    color: #fff;
  }
  .promotion-popup__content ol,
  .promotion-popup__content ul {
    margin: 0;
    padding-left: 1.15em;
  }
  .promotion-popup__content li {
    margin: 0 0 10px;
  }
  .promotion-popup__content li:last-child {
    margin-bottom: 0;
  }
  .promotion-popup__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #22242a;
    background: #050505;
  }
  .promotion-popup__footer.is-empty {
    display: none;
  }
  .promotion-popup__footer-text {
    display: block;
    flex: 1;
    min-width: 0;
  }
  .promotion-popup__actions {
    flex: 0 0 auto;
    gap: 8px;
    padding: 0;
  }
  .promotion-popup__btn--back {
    display: none;
  }
  .promotion-popup__btn--apply {
    flex: 0 0 auto;
    height: 36px;
    min-width: 110px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 11px !important;
    font-weight: 800;
    background: linear-gradient(180deg, #f9d94e 0%, #c8860b 100%);
    color: #111;
  }
}
@media (max-width: 640px) {
  .promotion-board {
    background: none;
    padding: 0px 5px;
  }
  .promotion-board,
  .promotion-board * {
    font-size: 10px !important;
  }
  .promotion-card__cta {
    display: none;
  }
  .promotion-board__body {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }
  .promotion-side {
    width: 100%;
    max-width: 115px;
    display: flex;
    flex-direction: column;
  }
  .promotion-side__item {
    padding: 15px 5px;
  }
  .promotion-list {
    flex: 1 1 auto;
    min-width: 0;
  }
  .promotion-card__banner-full {
    height: 100px;
  }
  .promotion-card__brand {
    min-height: unset;
    height: auto;
    padding: 3px 10px;
  }
  .promotion-side__item--outlined {
    min-height: 56px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #0a0a0a;
    border: 1px solid #f0cb47;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
  }
  .promotion-side__item--outlined .promotion-side__icon {
    width: 14px;
    height: 14px;
  }
}
/* K9WIN – design tokens from Figma (HOME PAGE / BEFORE LOGIN) */
:root {
  /* Colors – dark theme with gold accent */
  --color-bg: #0d0f12;
  --color-bg-elevated: #161a1f;
  --color-bg-card: #1a1e24;
  --color-surface: #22262d;
  --color-border: #2d333b;
  --color-text: #e6edf3;
  --color-text-muted: #8b949e;
  --color-accent: #d4a84b;
  --color-accent-hover: #e4b95a;
  --color-win: #3fb950;
  --color-loss: #f85149;
  --color-link: #d4a84b;

  /* Spacing – aligned to Figma (40px content padding, 16px gaps) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 56px;
  --content-padding: 40px;
  --content-max: 1480px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-11: 11px;
  --text-13: 13px;
  --text-15: 15px;
  --text-16: 16px;
  --text-17: 17px;
  --text-19: 19px;
  --text-21: 21px;
  --text-24: 24px;
  --text-27: 27px;
  --text-32: 32px;
  --line-tight: 1.2;
  --line-normal: 1.5;

  /* Components – from Figma dimensions */
  --header-height: 86px;
  --mobile-app-banner-height: 0px;
  --promo-aspect-ratio: 1100 / 474;
  --main-nav-height: 70px;
  --lobby-offset-top: 10px;
  --lobby-offset-bottom: 150px;
  --lobby-grid-gap: 14px;
  --lobby-panel-gap: 22px;
  --game-card-w: 125px;
  --game-card-h: 156px;
  --match-card-w: 338px;
  --match-card-h: 176px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: var(--line-normal);
  color: var(--color-text);
  background: #000000;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: 'Kh-Content';
  src: url('../fonts/Kh-Content-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html[lang="km"] {
  --font-sans: Arial, "Noto Sans", sans-serif, 'Kh-Content', Prompt, sans-serif;
  /* Khmer needs more vertical room for diacritics above/below the base line */
  --line-tight: 1.65;
  --line-normal: 1.9;
  line-height: 1.9;
}

html[lang="km"] body,
html[lang="km"] button,
html[lang="km"] select,
html[lang="km"] textarea {
  font-family: Arial, "Noto Sans", sans-serif, 'Kh-Content', Prompt, sans-serif !important;
}

html[lang="km"] body {
  line-height: 1.9;
}

html[lang="km"] .header-btn,
html[lang="km"] .header-btn-text,
html[lang="km"] .header-nav .nav-link {
  font-family: Arial, "Noto Sans", sans-serif, 'Kh-Content', Prompt, sans-serif !important;
}

/* Override cramped component line-heights site-wide for Khmer */
html[lang="km"] p,
html[lang="km"] li,
html[lang="km"] dd,
html[lang="km"] dt,
html[lang="km"] td,
html[lang="km"] th,
html[lang="km"] label,
html[lang="km"] h1,
html[lang="km"] h2,
html[lang="km"] h3,
html[lang="km"] h4,
html[lang="km"] h5,
html[lang="km"] h6,
html[lang="km"] figcaption,
html[lang="km"] blockquote,
html[lang="km"] [class*="title"],
html[lang="km"] [class*="desc"],
html[lang="km"] [class*="text"],
html[lang="km"] [class*="content"],
html[lang="km"] [class*="subtitle"],
html[lang="km"] [class*="caption"],
html[lang="km"] [class*="message"],
html[lang="km"] [class*="info"],
html[lang="km"] [class*="label"],
html[lang="km"] [class*="name"] {
  line-height: 1.85 !important;
}

/* Sponsorship page: fixed header on desktop, full-screen mobile */
body.page--sponsorship {
  background: #000000;
}
@media (min-width: 641px) {
  body.page--sponsorship {
    padding-top: var(--header-height);
  }
}
@media (max-width: 640px) {
  body.page--sponsorship {
    padding-top: 0;
  }
  body.page--sponsorship .header {
    display: none !important;
  }
}


a {
  color: var(--color-link);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7000;
  height: var(--header-height);
  background: #000000;
  border-bottom: 1px solid #333333;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-inner {
  flex: 1;
  min-width: 0;
  max-width: 1370px;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header-menu-btn {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0 0 0 15px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 10;
  transform: translateY(-50%);
  -webkit-tap-highlight-color: transparent;
}
.header-menu-btn:hover {
  opacity: 0.85;
}
.header-menu-btn-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 1369px) {
  .header-menu-btn {
    display: none !important;
  }
  .logo {
    padding-left: 0;
  }
}

.logo {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover {
  text-decoration: none;
  opacity: 0.9;
}
.logo-img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1400px) {
  .logo {
    padding-left: 60px;
  }
}

@media (max-width: 1365px) {
  .logo {
    padding-left: 55px;
  }
  .logo.loggedin{
    padding-left: 0;
  }
}

/* Header nav: Home, Promotions, etc. */
.header-nav {
  flex: 0 1 auto;
  margin-right: var(--space-sm);
}
.header-nav .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.header-nav .nav-link {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-sm) 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.header-nav .nav-link:hover {
  color: #ffc107;
  text-decoration: none;
}
.header-nav .nav-link.active {
  color: #F9D94E;
  border-bottom-color: #F9D94E;
}

/* Gift icon */
.header-gift {
  flex-shrink: 0;
  text-decoration: none;
  display: block;
  line-height: 0;
}
.header-gift:hover {
  text-decoration: none;
}
.header-gift:hover .header-gift-img {
  transform: scale(1.1);
}
.header-gift-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* Auth: gift, inputs, help, buttons – pill style */
.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.header-input {
  width: 120px;
  min-width: 120px;
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: var(--text-15);
  line-height: 1.2;
  color: var(--color-text);
  background: #1e1e1e;
  border: none;
  border-radius: 9999px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-sans);
}
.header-input::placeholder {
  color: #9a9a9a;
}
.header-password-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-shrink: 0;
}
.header-password-wrap .header-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  width: 120px;
  min-width: 120px;
  padding-right: 16px;
}
.header-password-wrap .header-help {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.header-help {
  width: 36px;
  min-width: 36px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #ffc107;
  background: #1e1e1e;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}
.header-help:hover {
  color: #ffd54f;
}
.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 14px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.header-btn-icon {
  font-size: 14px;
  color: inherit;
}
.header-btn-icon-img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.header-btn-arrow-img {
  display: block;
  width: 10px;
  height: 10px;
  object-fit: contain;
}
.header-btn-icon-dark {
  color: #2c1810;
}
.header-btn-register .header-btn-icon-img {
  width: 15px;
  height: 15px;
}
.header-btn-text {
  color: inherit;
}
/* Sign In: black background, thin gold border, gold icon/text, white separator, gold chevron */
.header-btn-signin {
  color: #f9d94e;
  background: #0d0d0d;
  border: 1px solid #f9d94e;
  padding-left: 12px;
  padding-right: 10px;
}
.header-btn-signin .header-btn-text {
  color: #f9d94e !important;
}
.header-btn-signin:hover {
  background: #1a1a1a;
  border-color: #f9d94e;
}

/* Sign In hover popup: Or Connect With + Google / Telegram / LINE */
.header-signin-wrap {
  position: relative;
}
.header-connect-popup {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  padding: 20px 24px;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 16px;
  min-width: 260px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 100;
}
.header-signin-wrap:hover .header-connect-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-connect-title {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}
.header-connect-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.header-connect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-connect-google {
  background: #fff;
}
.header-connect-telegram {
  background: #0088cc;
}
.header-connect-line {
  background: #00b900;
}
.header-connect-icon-img,
.header-connect-icon-svg {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.header-connect-google .header-connect-icon-svg {
  width: 26px;
  height: 26px;
}
.header-connect-telegram .header-connect-icon-svg,
.header-connect-line .header-connect-icon-svg {
  color: #fff;
}
.header-btn-sep {
  width: 1px;
  height: 14px;
  background: #ffd700;
  margin: 0 6px 0 4px;
  flex-shrink: 0;
}
.header-btn-arrow {
  margin-left: 0;
}
/* Register: solid gold bg, dark brown text and icon */
.header-btn-register {
  color: #2c1810;
  background: linear-gradient(180deg, #f9d84d 0%, #c68409 100%);
  border: 5px solid #774e03 ;
  animation: header-register-border-color-loop 1.2s linear infinite;
}
.header-btn-register .header-btn-icon-dark,
.header-btn-register .header-btn-text {
  color: #2c1810;
}
.header-btn-register:hover {
  background: linear-gradient(180deg, #f0cf45 0%, #b87608 100%);
  color: #2c1810;
}
.header-btn-register:hover .header-btn-icon-dark,
.header-btn-register:hover .header-btn-text {
  color: #2c1810;
}
@keyframes header-register-border-color-loop {
  0%,
  100% {
    border-color: #774e03;
  }
  50% {
    border-color: #1a1a1a;
  }
}

/* Logged-in header (after_login): wallet, add funds, notifications, profile */
.header-auth--loggedin {
  gap: 8px;
}
.header-wallet-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}
.header-wallet-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
  z-index: 1;
}
.header-wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #2a2a2a;
  border-radius: 9999px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.header-wallet:focus {
  outline: none;
}
.header-wallet:focus-visible {
  outline: 2px solid #e8c435;
  outline-offset: 2px;
}
.header-wallet-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  min-width: 232px;
  max-width: min(100vw - 24px, 300px);
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: 12px;
  border: 1px solid #f6d84d;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 7200;
}
/* Quick menu (Deposit / Withdraw / Account): hover main or this panel; click bar .is-open */
.header-wallet-wrap:has(.header-wallet-main:hover) .header-wallet-dropdown--quick,
.header-wallet-wrap:has(.header-wallet-dropdown--quick:hover) .header-wallet-dropdown--quick,
.header-wallet-wrap.is-open .header-wallet-dropdown--quick {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Freebet panel: click Add funds (.is-freebet-open) or hover this panel */
.header-wallet-wrap.is-freebet-open .header-wallet-dropdown--freebet,
.header-wallet-wrap:has(.header-wallet-dropdown--freebet:hover) .header-wallet-dropdown--freebet {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-wallet-dropdown--freebet {
  min-width: 288px;
  max-width: min(100vw - 24px, 360px);
  padding: 10px;
  padding-top: 0;
  z-index: 7210;
}
.header-wallet-dropdown__handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 24px;
  margin: 0 auto 12px;
  background: #2a2a2a;
  border-radius: 0 0 10px 10px;
  margin-top: -1px;
}
.header-wallet-dropdown__handle-icon {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.header-wallet-dropdown__balance-box {
  border: 1px solid rgba(249, 217, 78, 0.45);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  text-align: left;
  box-sizing: border-box;
  background: #0d0d0d;
}
.header-wallet-dropdown--freebet .header-wallet-dropdown__balance-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #a9a9a9;
  margin-bottom: 8px;
  line-height: 1.25;
}
.header-wallet-dropdown--freebet .header-wallet-dropdown__balance-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.header-wallet-dropdown__remind {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  padding: 0 2px;
}
.header-wallet-dropdown__remind-text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}
.header-wallet-dropdown__remind-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e53935;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: system-ui, sans-serif;
}
.header-wallet-dropdown__item--freebet {
  background: #212121;
}
.header-wallet-dropdown__item--freebet:hover {
  background: #2e2e2e;
}
.header-wallet-dropdown__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.header-wallet-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #1c1c1c;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  transition: background 0.15s ease;
}
.header-wallet-dropdown__item:hover {
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
}
.header-wallet-dropdown__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.header-wallet-dropdown__icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.header-wallet-dropdown__icon--account {
  filter: brightness(0) invert(0.72);
}
.header-wallet-dropdown__text {
  flex: 1;
  min-width: 0;
}
/* Flag + balance + chevron — single layout control */
.header-wallet-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.header-wallet-main .header-wallet-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.header-wallet-main .header-wallet-balance {
  font-size: var(--text-15);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.header-wallet-main .header-wallet-chevron {
  width: 15px;
  height: 15px;
  object-fit: contain;
  opacity: 0.8;
  flex-shrink: 0;
}
.header-wallet-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-left: 2px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
}
.header-wallet-refresh:hover {
  background: rgba(255, 255, 255, 0.1);
}
.header-wallet-refresh:disabled {
  cursor: wait;
  opacity: 0.7;
}
.header-wallet-refresh-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.header-wallet-refresh.is-refreshing .header-wallet-refresh-icon {
  animation: header-wallet-refresh-spin 0.7s linear infinite;
}
@keyframes header-wallet-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}
.header-add-funds {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: linear-gradient(180deg, #F9D94E 0%, #C68308 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  flex-shrink: 0;
}
.header-add-funds:hover {
  background: linear-gradient(180deg, #f0cf45 0%, #b87608 100%);
  color: #fff;
}
.header-add-funds-icon {
  width: 30px;
  height: 30px;
  display: block;
}
.header-wallet .header-add-funds {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  flex-shrink: 0;
}
.header-wallet .header-add-funds-icon {
  width: 18px;
  height: 18px;
}
.header-auth-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2a2a2a;
  border: none;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.header-icon-btn:hover,
.header-icon-btn.header-icon-btn--promo:hover {
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  color: #000;
}
.header-icon-btn:hover .header-icon-btn-svg,
.header-icon-btn.header-icon-btn--promo:hover .header-icon-btn-svg {
  color: #000;
  filter: brightness(0) saturate(100%);
}
.header-icon-btn-svg {
  width: 25px;
  height: 25px;
  display: block;
}
.header-icon-badge {
  position: absolute;
  top: -5px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: #e53935;
  border-radius: 50%;
}
/* Promotions / rewards popup (after_login) */
.header-promo-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 12;
}
.header-promo-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(100vw - 24px, 320px);
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #000;
  border: 1px solid #f6d84d;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  z-index: 7300;
}
.header-promo-pop[hidden] {
  display: none !important;
}
.header-promo-pop__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.header-promo-pop__gift-total {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.header-promo-pop__ticket-icon {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.header-promo-pop__gift-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header-promo-pop__gift-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.header-promo-pop__gift-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #f6d84d;
  letter-spacing: 0.06em;
}
.header-promo-pop__points {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.35;
  text-align: right;
  flex-shrink: 0;
  max-width: 48%;
}
.header-promo-pop__points-val {
  color: #f6d84d;
  font-weight: 700;
}
.header-promo-pop__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.header-promo-pop__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 10px;
  background: #2a2a2a;
  border-radius: 10px;
  box-sizing: border-box;
}
.header-promo-pop__card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.header-promo-pop__card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.header-promo-pop__card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.header-promo-pop__card-bonus {
  font-size: 0.85rem;
  font-weight: 700;
  color: #3dff6a;
}
.header-promo-pop__claim {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1a1a;
  background: #f6d84d;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.header-promo-pop__claim:hover {
  background: #ffe066;
  color: #1a1a1a;
}
.header-promo-pop__footer {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #2a2a2a;
  border-radius: 10px;
  box-sizing: border-box;
}
.header-promo-pop__footer:hover {
  background: #333;
  color: #fff;
  text-decoration: none;
}
.header-lang {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #1e1e1e;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
}
.header-lang:hover {
  background: #333;
}
.header-lang-flag {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.header-lang-arrow {
  display: block;
  width: 10px;
  height: 10px;
  object-fit: contain;
}

/* Header mobile: simplify on small screens */
@media (max-width: 1024px) {
  .header-auth > .header-input {
    width: 100px;
    min-width: 100px;
  }
  .header-password-wrap .header-input {
    width: 100px;
    min-width: 100px;
  }
}
@media (max-width: 900px) {
  .header-nav {
    display: none;
  }
}
@media (max-width: 600px) {
  :root {
    --header-height: 65px;
  }
  .header {
    border-bottom: none;
    z-index: 9000;
  }
  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    padding: 0 15px !important;
    overflow: visible;
  }
  .logo-img {
    height: 40px;
  }
  .header-inner .header-input,
  .header-inner .header-password-wrap,
  .header-inner .header-btn-sep,
  .header-inner .header-btn-arrow-img,
  .header-inner .header-lang {
    display: none !important;
  }
  .header-gift-img {
    width: 32px;
    height: 32px;
  }
  .header-auth {
    order: 0;
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: auto;
  }
  .header-buttons {
    gap: 6px;
    flex-shrink: 0;
  }
  .header-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  .header-auth--loggedin {
    gap: 6px;
  }
  .header-auth--loggedin .header-auth-sep {
    display: none;
  }
  .header-wallet {
    padding: 6px 8px;
    gap: 0px;
  }
  .header-wallet-main {
    gap: 4px;
  }
  .header-wallet-main .header-wallet-flag {
    width: 18px;
    height: 18px;
  }
  .header-wallet-main .header-wallet-balance {
    font-size: 12px;
  }
  .header-wallet-main .header-wallet-chevron {
    width: 12px;
    height: 12px;
  }
  .header-wallet-refresh {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .header-wallet .header-add-funds {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .header-icon-btn {
    width: 34px;
    height: 34px;
  }
  .header-icon-btn-svg {
    width: 20px;
    height: 20px;
  }
  .header-lang {
    margin-left: auto;
  }
}

/* ----- Sponsorships Dropdown ----- */
.nav-item-has-dropdown {
  position: static;
}
/* ----- Shared nav dropdown panel (full-viewport blur + sharp content strip) ----- */
.nav-dropdown {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + var(--mobile-app-banner-height) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100dvh - var(--header-height) - var(--mobile-app-banner-height) - env(safe-area-inset-top, 0px));
  min-height: calc(100vh - var(--header-height) - var(--mobile-app-banner-height) - env(safe-area-inset-top, 0px));
  z-index: 6500;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-x: hidden;
  overflow-y: auto;
  /* Backdrop is visual only — do not trap hover below the content strip */
  pointer-events: none;
}
.nav-item-has-dropdown:hover .nav-dropdown,
.nav-dropdown:has(.nav-dropdown-container:hover) {
  display: flex;
}
.nav-dropdown-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 0;
  max-width: 1370px;
  margin: 0;
  width: 100%;
  height: 263px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  pointer-events: auto;
}
.sub-menu-dropdown {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
  text-align: left;
  background: linear-gradient(180deg, #070707 0%, #191600 100%);
  padding: 12px 18px 14px;
  border-radius: 0 0 18px 18px;
  width: 100%;
  height: 267px;
  box-sizing: border-box;
}
.sponsorship-card {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s;
  cursor: pointer;
}
.sponsorship-card:hover { transform: translateY(-2px); }
.sponsorship-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.sponsorship-card-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0 2px 2px;
}
.sponsorship-card-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.sponsorship-card-logo--sevilla {
  object-fit: cover;
  object-position: 34% center;
  border-radius: 4px;
}
.sponsorship-card-text { display: flex; flex-direction: column; gap: 2px; }
.sponsorship-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.sponsorship-card-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.62);
  margin: 0;
  line-height: 1.2;
}
.sponsorship-card-year {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.50);
  margin: 0;
  line-height: 1.2;
}

/* ----- Sponsorship detail modal (dropdown card click) ----- */
.sponsorship-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.sponsorship-detail-modal[hidden] {
  display: none !important;
}
.sponsorship-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.82);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.sponsorship-detail-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #0b0b0b;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65);
  padding: 32px 36px 40px;
  box-sizing: border-box;
}
/* Timeline: dot on line, date below dot, club label below date */
.sponsorship-detail-timeline {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  padding: 4px 5% 0;
  position: relative;
}
/* Full-width track through dot centers */
.sponsorship-detail-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  pointer-events: none;
  z-index: 0;
  background: #333333;
  border-radius: 1px;
}
.sponsorship-detail-timeline__item {
  flex: 0 0 10%;
  width: 10%;
  max-width: 10%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: none;
  border: none;
  padding: 0 10px 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  position: relative;
  z-index: 1;
}
/* Inactive: hollow ring on track */
.sponsorship-detail-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  box-sizing: border-box;
  flex-shrink: 0;
}
/* Active: solid gold dot */
.sponsorship-detail-timeline__item.is-active .sponsorship-detail-timeline__dot {
  width: 20px;
  height: 20px;
  background: #f9d94e;
  border: 3px solid #f9d94e;
}
.sponsorship-detail-timeline__date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}
.sponsorship-detail-timeline__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8e8e8e;
  line-height: 1.3;
  max-width: 11em;
}
.sponsorship-detail-timeline__item.is-active .sponsorship-detail-timeline__label {
  font-weight: 700;
  color: #f9d94e;
}
.sponsorship-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: start;
}
.sponsorship-detail-hero {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #f9d94e;
  display: block;
}
.sponsorship-detail-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sponsorship-detail-tag {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f0c14b;
  text-transform: uppercase;
}
.sponsorship-detail-title {
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
}
.sponsorship-detail-title:focus {
  outline: none;
}
.sponsorship-detail-title:focus-visible {
  outline: 2px solid #f0c14b;
  outline-offset: 3px;
}
.sponsorship-detail-desc {
  margin: 0 0 22px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}
/* YouTube-style embed: gold frame, checkerboard stage, overlays */
.sponsorship-detail-video {
  width: 100%;
  max-width: 450px;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid #e8c230;
  box-shadow: 0 0 0 1px rgba(232, 194, 48, 0.25);
}
.sponsorship-detail-video__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background-color: #b0b0b0;
  background-image:
    linear-gradient(45deg, #949494 25%, transparent 25%),
    linear-gradient(-45deg, #949494 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #949494 75%),
    linear-gradient(-45deg, transparent 75%, #949494 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}
.sponsorship-detail-video__topshade {
  position: absolute;
  inset: 0 0 55%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    transparent 100%
  );
}
.sponsorship-detail-video__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 12px;
  pointer-events: none;
}
.sponsorship-detail-video__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, #3a3a3a 0%, #1c1c1c 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.sponsorship-detail-video__headtext {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.sponsorship-detail-video__title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.sponsorship-detail-video__channel {
  font-size: 0.74rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.sponsorship-detail-video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
  background: #000;
}
.sponsorship-detail-video__poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.sponsorship-detail-video__poster.is-hidden {
  display: none;
}
.sponsorship-detail-video__poster:focus {
  outline: none;
}
.sponsorship-detail-video__poster:focus-visible {
  box-shadow: inset 0 0 0 2px #f0c14b;
}
.sponsorship-detail-video__play {
  display: block;
  width: 56px;
  height: 38px;
  background: #ff0000;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}
.sponsorship-detail-video__poster:hover .sponsorship-detail-video__play {
  transform: scale(1.05);
}
.sponsorship-detail-video__play::after {
  content: "";
  position: absolute;
  left: 53%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}
.sponsorship-detail-video__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 14px;
  pointer-events: none;
}
.sponsorship-detail-video__footer .sponsorship-detail-video__link-btn,
.sponsorship-detail-video__footer .sponsorship-detail-video__yt {
  pointer-events: auto;
}
.sponsorship-detail-video__link-btn {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(30, 30, 30, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / 15px no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sponsorship-detail-video__yt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 18px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.sponsorship-detail-video__yt:hover {
  background: rgba(40, 40, 40, 0.88);
  border-color: rgba(255, 255, 255, 0.16);
}
.sponsorship-detail-video__yt-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.sponsorship-detail-video__yt-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sponsorship-detail-video__yt-play {
  display: inline-block;
  width: 20px;
  height: 14px;
  background: #ff0000;
  border-radius: 3px;
  position: relative;
  vertical-align: middle;
}
.sponsorship-detail-video__yt-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 3px 0 3px 5px;
  border-color: transparent transparent transparent #fff;
}
.sponsorship-detail-video__yt-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}
.sponsorship-detail-video__frame.is-playing .sponsorship-detail-video__topshade,
.sponsorship-detail-video__frame.is-playing .sponsorship-detail-video__header,
.sponsorship-detail-video__frame.is-playing .sponsorship-detail-video__footer {
  display: none;
}
@media (max-width: 768px) {
  .sponsorship-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sponsorship-detail-hero {
    max-height: 240px;
  }
  .sponsorship-detail-modal__panel {
    padding: 24px 18px 28px;
  }
  .sponsorship-detail-timeline {
    padding: 4px 2% 0;
  }
}

/* ----- Sponsorship page (desktop) ----- */
.sponsorship-page {
  display: none;
  padding: 28px 15px 56px;
  background: #000000;
  box-sizing: border-box;
}
@media (min-width: 641px) {
  .sponsorship-page {
    display: block;
  }
}
.sponsorship-page__inner {
  max-width: 1370px;
  margin: 0 auto;
}
.sponsorship-page__panel {
  background: #121212;
  border-radius: 16px;
  padding: 36px 40px 44px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .sponsorship-page__panel,
  .app-download__layout {
    min-height: 860px;
  }
}
/* Timeline page layout: rail + dot on line, date, label */
.page--sponsorship .sponsorship-detail-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 40px;
  padding: 0 5% 0;
  min-height: 72px;
  position: relative;
}
.page--sponsorship .sponsorship-detail-timeline::before {
  display: none;
}
.page--sponsorship .sponsorship-detail-timeline__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  z-index: 0;
  pointer-events: none;
  background: #333333;
  border-radius: 1px;
}
.page--sponsorship .sponsorship-detail-timeline__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
  text-align: center;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  position: relative;
  z-index: 1;
}
.page--sponsorship .sponsorship-detail-timeline__item + .sponsorship-detail-timeline__item {
  margin-left: min(26vw, 300px);
}
.page--sponsorship .sponsorship-detail-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #444444;
  background: #222222;
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0 0 10px;
  position: relative;
  z-index: 2;
}
.page--sponsorship .sponsorship-detail-timeline__item.is-active .sponsorship-detail-timeline__dot {
  width: 14px;
  height: 14px;
  background: #f9d94e;
  border: 2px solid #444444;
  box-shadow: 0 0 8px rgba(249, 217, 78, 0.35);
}
.page--sponsorship .sponsorship-detail-timeline__indicator {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid #444444;
  background: #f9d94e;
  box-shadow: 0 0 12px rgba(249, 217, 78, 0.45);
  pointer-events: none;
  z-index: 3;
  transition: left 0.42s cubic-bezier(0.22, 1, 0.36, 1), top 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.page--brand-ambassador .sponsorship-detail-timeline__indicator {
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border: 3px solid #444444;
  background: #f3cf47;
  box-shadow: 0 0 12px rgba(243, 207, 71, 0.45);
}
.page--sponsorship .sponsorship-detail-timeline__date {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.2;
  color: #888888;
  white-space: nowrap;
}
.page--sponsorship .sponsorship-detail-timeline__label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
  color: #888888;
  max-width: 12em;
  text-align: center;
}
.page--sponsorship .sponsorship-detail-timeline__item.is-active .sponsorship-detail-timeline__label {
  font-weight: 700;
  color: #f9d94e;
}
.page--sponsorship .sponsorship-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}
.page--sponsorship .sponsorship-detail-hero {
  max-height: none;
  width: 100%;
  object-fit: cover;
}
.page--sponsorship .sponsorship-detail-tag {
  font-size: 1.35rem;
  color: #f9d94e;
  letter-spacing: 0.1em;
}
.page--sponsorship .sponsorship-detail-title {
  font-size: clamp(1.45rem, 2.3vw, 1.35rem);
}
.page--sponsorship .sponsorship-detail-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}
.page--sponsorship .sponsorship-detail-video {
  max-width: 450px;
}
@media (min-width: 641px) {
  .page--sponsorship .sponsorship-page__panel {
    padding: 20px;
  }
}

/* ----- Ambassadors Dropdown ----- */
.nav-item-ambassadors .nav-dropdown-container {
  display: block;
}
.amb-slider-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  height: 267px;
  overflow: hidden;
  background: linear-gradient(180deg, #000 0%, #151100 100%);
  padding: 12px 14px 16px;
  border-radius: 10px;
  box-sizing: border-box;
}
.amb-slider-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  width: 100%;
}
.ambassador-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
}
.ambassador-card:hover { transform: translateY(-2px); text-decoration: none; }
.ambassador-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.20);
}
.ambassador-card-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 6px 0;
}
.ambassador-card-logo {
  width: 50px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.ambassador-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
}
.ambassador-card-role {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.ambassador-card-year {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.amb-btn {
  display: none;
}

/* ----- Affiliate Dropdown ----- */
.affiliate-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  background: linear-gradient(180deg, #000 0%, #151100 100%);
  border-radius: 0 0 20px 20px;
  padding: 24px 40px 24px 0;
  width: 100%;
  height: 267px;
  overflow: hidden;
  box-sizing: border-box;
}
.affiliate-banner {
  width: 303px;
  height: 228px;
  flex-shrink: 0;
  object-fit: contain;
  align-self: flex-end;
}
.affiliate-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.affiliate-title {
  font-size: 34px;
  font-weight: 700;
  color: #F9D94E;
  margin: 0;
  line-height: 1.2;
}
.affiliate-cta {
  display: inline-block;
  padding: 9px 19px;
  background: linear-gradient(180deg, #F9D94E 0%, #C3960B 100%);
  border: 1px solid #C68308;
  color: #000;
  font-weight: 500;
  font-size: 14px;
  border-radius: 100px;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.15s;
  max-width: 200px;
  height: 40px;
}
.affiliate-cta:hover {
  opacity: 0.85;
  text-decoration: none;
}
.affiliate-rebate {
  font-size: 18px;
  font-weight: 500;
  color: #8e8e8e;
  margin: 0;
}
.affiliate-features {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.affiliate-feature {
  display: flex;
  align-items: center;
  gap: 8px;
}
.affiliate-feature-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.affiliate-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.affiliate-feature-label {
  font-size: 10px;
  font-weight: 500;
  color: #8e8e8e;
}
.affiliate-feature-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
}

/* ----- Download Dropdown ----- */
.nav-item-download .nav-dropdown-container {
  display: block;
}
.download-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  width: 100%;
  height: 267px;
  background: linear-gradient(180deg, #040404 0%, #1a1500 100%);
  border-radius: 0 0 20px 20px;
  padding: 18px 28px 20px;
  box-sizing: border-box;
}
.download-banner-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}
.download-banner {
  width: 100%;
  max-width: 250px;
  flex-shrink: 0;
  object-fit: contain;
}
.download-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  min-width: 0;
}
.download-headline {
  font-size: 1.3rem;
  font-weight: 700;
  color: #F9D94E;
  margin: 0;
  line-height: 1.75;
}
.download-subtext {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.35;
}
.download-stores {
  display: flex;
  gap: 50px;
  flex: 0 0 auto;
  justify-content: flex-end;
}
.download-store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.download-store-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #2a2a2d;
  border: none;
  border-radius: 9px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
  width: auto;
  justify-content: center;
}
.download-store-btn:hover { background: #222; text-decoration: none; }
.download-store-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.download-instructions {
  font-size: 0.75rem;
  font-weight: 500;
  color: #F9D94E;
  text-decoration: none;
  transition: opacity 0.15s;
}
.download-instructions:hover { opacity: 0.75; text-decoration: none; }

/* ----- Mobile app download banner (index / after_login) ----- */
.mobile-app-banner {
  display: none;
}
.mobile-app-banner__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.mobile-app-banner__info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.mobile-app-banner__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #2a2a2a;
  overflow: hidden;
}
.mobile-app-banner__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mobile-app-banner__text {
  min-width: 0;
}
.mobile-app-banner__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.mobile-app-banner__tagline {
  margin: 2px 0 0;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
}
.mobile-app-banner__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 6px;
  background: linear-gradient(180deg, #F9D94E 0%, #C3960B 100%);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.mobile-app-banner__btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* ----- Download install guide modal ----- */
.download-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.download-guide-modal[hidden] {
  display: none !important;
}
.download-guide-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.download-guide-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  background: #000;
  border: 1px solid #e8c230;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  padding: 28px 20px 32px;
  box-sizing: border-box;
  text-align: center;
}
.download-guide-modal__handle {
  display: none;
}
.download-guide-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 6px;
}
.download-guide-modal__close:hover {
  color: #f7d117;
}
.download-guide-modal__title {
  margin: 0 32px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f7d117;
  line-height: 1.35;
  text-transform: none;
}
.download-guide-modal__title-line1,
.download-guide-modal__title-line2 {
  display: block;
}
.download-guide-modal__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}
.download-guide-modal__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #f7d117;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, opacity 0.15s;
}
.download-guide-modal__arrow:hover:not(:disabled) {
  background: rgba(247, 209, 23, 0.12);
}
.download-guide-modal__arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.download-guide-modal__arrow--prev::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
}
.download-guide-modal__arrow--next::before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-right: 4px;
}
.download-guide-modal__img-wrap {
  flex: 1;
  min-width: 0;
  max-width: 260px;
  margin: 0 auto;
}
.download-guide-modal__img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}
.download-guide-modal__pag {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.download-guide-modal__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f7d117;
  opacity: 0.45;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s, width 0.15s, border-radius 0.15s;
}
.download-guide-modal__dot:hover {
  opacity: 0.85;
}
.download-guide-modal__dot.is-active {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  opacity: 1;
}
.download-guide-modal__step-num {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f7d117;
}
.download-guide-modal__step-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #fff;
  padding: 0 8px;
}
@media (max-width: 767px) {
  .download-guide-modal {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  .download-guide-modal__backdrop {
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(3px);
  }

  .download-guide-modal__panel {
    width: 100vw;
    max-width: none;
    height: 71vh;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    border-right: none;
    border-bottom: 0;
    border-left: none;
    border-radius: 16px 16px 0 0;
    padding: 48px 16px 30px;
  }

  .download-guide-modal__handle {
    position: absolute;
    top: 15px;
    left: 50%;
    display: block;
    width: 120px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    transform: translateX(-50%);
  }

  .download-guide-modal__close {
    top: 20px;
    right: 16px;
    width: 32px;
    height: 32px;
    font-size: 2.25rem;
    font-weight: 300;
  }

  .download-guide-modal__title {
    margin: 0 42px 24px;
    font-size: 1.05rem;
  }

  .download-guide-modal__stage {
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
  }

  .download-guide-modal__arrow {
    width: 32px;
    height: 32px;
    background: rgba(247, 209, 23, 0.18);
  }

  .download-guide-modal__arrow:disabled {
    opacity: 1;
  }

  .download-guide-modal__img-wrap {
    max-width: 210px;
  }

  .download-guide-modal__img {
    max-width: 210px;
  }

  .download-guide-modal__pag {
    margin-bottom: 20px;
  }

  .download-guide-modal__step-num {
    margin-bottom: 16px;
    font-size: 1rem;
  }

  .download-guide-modal__step-desc {
    font-size: 0.95rem;
  }
}

/* ----- Promo strip ----- */
.promo-strip {
  background: none;
  padding: var(--space-md) 0;
  flex-shrink: 0;
}

.promo-inner {
  /* Match .container / .header-inner (1370px + 15px gutters) so promo lines up with the main column */
  position: relative;
  max-width: 1370px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.carousel-btn {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: #1e1e1e;
  border: none;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-inner .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  flex-shrink: 0;
}
.promo-inner .promo-prev {
  left: -35px;
}
.promo-inner .promo-next {
  right: -35px;
}
.carousel-btn:hover {
  background: #333333;
  color: #ffffff;
}
.carousel-btn-icon {
  display: block;
  width: 10px;
  height: 10px;
  object-fit: contain;
}

.promo-cards {
  flex: 1;
  min-width: 0;
}
.promo-cards.promo-slider {
  display: block;
}
/* Pre-init: same column count + natural banner height as after Slick */
.promo-slider:not(.slick-initialized) {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  overflow: hidden;
  margin: 0 calc(var(--space-md) / -2);
}
.promo-slider:not(.slick-initialized) .promo-card {
  display: block;
  flex: 0 0 100%;
  padding: 0 calc(var(--space-md) / 2);
  box-sizing: border-box;
}
.promo-slider:not(.slick-initialized) .promo-card:nth-child(n + 2) {
  display: none;
}
@media (min-width: 577px) {
  .promo-slider:not(.slick-initialized) .promo-card {
    flex: 0 0 50%;
  }
  .promo-slider:not(.slick-initialized) .promo-card:nth-child(n + 2) {
    display: block;
  }
  .promo-slider:not(.slick-initialized) .promo-card:nth-child(n + 3) {
    display: none;
  }
}
@media (min-width: 993px) {
  .promo-slider:not(.slick-initialized) .promo-card {
    flex: 0 0 33.333%;
  }
  .promo-slider:not(.slick-initialized) .promo-card:nth-child(n + 3) {
    display: block;
  }
  .promo-slider:not(.slick-initialized) .promo-card:nth-child(n + 4) {
    display: none;
  }
}
.slick-track,
.slick-list {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
.slick-slide {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.promo-slider.slick-initialized {
  display: block;
}
.promo-slider .slick-list {
  margin: 0 calc(var(--space-md) / -2);
  height: auto !important;
}
.promo-slider .slick-track {
  height: auto !important;
  display: flex;
  align-items: flex-start;
}
.promo-slider .slick-slide {
  padding: 0 calc(var(--space-md) / 2);
  height: auto !important;
}
.promo-slider .slick-slide > div {
  height: auto;
}

.promo-card {
  background: none;
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
  position: relative;
}
.promo-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--promo-aspect-ratio);
  border-radius: 10px;
}
.promo-card.is-promo-loading .promo-card-img {
  opacity: 0;
}
.promo-card-shimmer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: 1;
  pointer-events: none;
}
.promo-card:not(.is-promo-loading) .promo-card-shimmer {
  display: none;
}

/* ----- Main nav (game-categories-inner style) ----- */
.main-nav {
  flex-shrink: 0;
  padding: 0 15px;
  touch-action: pan-y;
}
.main-nav .container {
  position: relative;
  max-width: 1370px;
  margin: 0 auto;
  padding: 0;
}
.main-nav-inner {
  width: 100%;
  display: flex;
  align-items: stretch;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fce87a 0%, #f5d84d 50%, #e8c435 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  padding-top: 8px;
  touch-action: pan-y;
}
.main-nav.is-fixed {
  position: fixed;
  top: calc(var(--header-height) + var(--mobile-app-banner-height) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  width: 100%;
  z-index: 6999;
  box-sizing: border-box;
  background: #000;
  touch-action: pan-y;
}
.main-nav.is-fixed .main-nav-inner {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.main-nav-placeholder {
  display: none;
  pointer-events: none;
}
.main-nav-home {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 105px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 50px 10px 16px;
  background: url("../images/nav/bg-home.png") no-repeat center center;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 99;
}
.main-nav-home-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.main-nav-home-link:hover {
  text-decoration: none;
}
.main-nav-home-link img {
  max-width: 48px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.main-nav-list {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 0 85px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  position: relative;
  z-index: 1;
}
.main-nav-list-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background-image: url("../images/nav/nav-active.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: var(--bg-x, 50%) var(--bg-y, 50%);
  transition:
    left 0.18s cubic-bezier(0.25, 0.1, 0.25, 1),
    width 0.18s cubic-bezier(0.25, 0.1, 0.25, 1),
    top 0.12s ease,
    height 0.12s ease,
    opacity 0.12s ease;
}
.main-nav-list-indicator.is-visible,
.main-nav-list-indicator.is-on-active {
  opacity: 1;
}
.main-nav-list::-webkit-scrollbar {
  display: none;
}
.main-nav-list li {
  width: 110px;
  max-width: 110px;
  height: 100%;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

/* ----- Main Nav Provider Dropdown ----- */
.main-nav-provider-dropdown {
  display: flex;
  position: absolute;
  left: 0;
  z-index: 9999;
  background: #000;
  border-radius: 0 0 15px 15px;
  border-right: 1px solid rgba(249, 217, 78, 0.4);
  border-bottom: 1px solid rgba(249, 217, 78, 0.4);
  border-left: 1px solid rgba(249, 217, 78, 0.4);
  border-top: none;
  padding: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
  box-sizing: border-box;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}
.main-nav-provider-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.provider-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1E1E1E;
  border-radius: 8px;
  padding: 15px 30px;
  min-width: 235px;
  flex: 0 0 auto;
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
  margin: 0 auto;
  text-align: center;
  vertical-align: middle;
}
.provider-card:hover { background: #2a2a2a; text-decoration: none; }
.provider-card-hot {
  position: absolute;
  top: -6px;
  left: 4px;
  width: 28px;
  height: auto;
  display: none;
}
.provider-card-logo {
  width: 40px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.provider-card-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Sports / Casino / Slots / Fishing / Crash / Arcade / Cockfight / Lottery / Table Game / Keno / Free Bet / New Games / Popular (hot) mega-menu grids */
.main-nav-provider-dropdown--grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px;
  max-height: min(70vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}
.main-nav-provider-dropdown--grid .provider-card {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 12px 12px 14px;
  box-sizing: border-box;
  justify-content: flex-start;
  gap: 12px;
  background: #2a2a2a;
  border-radius: 10px;
  border-right: none;
}
/* Short vertical separator (does not span full card height) */
.main-nav-provider-dropdown--grid .provider-card:not(:nth-child(6n))::after {
  content: '';
  position: absolute;
  right: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.main-nav-provider-dropdown--grid .provider-card:last-child::after {
  content: none;
}
.main-nav-provider-dropdown--grid .provider-card:hover {
  background: #353535;
}
.main-nav-provider-dropdown--grid .provider-card-name {
  font-size: 0.65rem;
  font-weight: 700;
  white-space: normal;
  line-height: 1.25;
  text-align: left;
  letter-spacing: 0.03em;
  color: #fff;
}
.main-nav-provider-dropdown--grid .provider-card-logo {
  width: 36px;
  height: 28px;
}
.main-nav-provider-dropdown--grid .provider-card-hot {
  top: -8px;
  left: 0;
  width: 32px;
  z-index: 1;
  transform: rotate(-14deg);
  transform-origin: center center;
}

/* Fishing (ref): #1a1a1a tiles, full-height column dividers, no short ::after rules */
.main-nav-provider-dropdown--grid-dividers-full .provider-card {
  background: #1a1a1a;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.main-nav-provider-dropdown--grid-dividers-full .provider-card:nth-child(6n) {
  border-right: none;
}
.main-nav-provider-dropdown--grid-dividers-full .provider-card:last-child {
  border-right: none;
}
.main-nav-provider-dropdown--grid-dividers-full .provider-card:hover {
  background: #242424;
}
.main-nav-provider-dropdown--grid-dividers-full .provider-card::after {
  content: none !important;
}

/* Crash: 6-column grid, ~6px radius, full-height column dividers */
.main-nav-provider-dropdown--grid.main-nav-provider-dropdown--grid-crash {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-height: none;
  gap: 6px;
  padding: 12px 14px;
}
.main-nav-provider-dropdown--grid-crash .provider-card {
  background: #2a2a2a;
  border-radius: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.main-nav-provider-dropdown--grid-crash .provider-card:last-child {
  border-right: none;
}
.main-nav-provider-dropdown--grid-crash .provider-card:hover {
  background: #333;
}
.main-nav-provider-dropdown--grid-crash .provider-card::after {
  content: none !important;
}

/* Arcade: 6-column grid (five providers in first row), large rounded tiles */
.main-nav-provider-dropdown--grid.main-nav-provider-dropdown--grid-arcade {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-height: none;
  gap: 8px;
  padding: 14px 18px;
}
.main-nav-provider-dropdown--grid-arcade .provider-card {
  background: #2a2a2a;
  border-radius: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.main-nav-provider-dropdown--grid-arcade .provider-card:last-child {
  border-right: none;
}
.main-nav-provider-dropdown--grid-arcade .provider-card:hover {
  background: #333;
}
.main-nav-provider-dropdown--grid-arcade .provider-card::after {
  content: none !important;
}

/* Cockfight: 6-column grid (three providers fill first row), full-height dividers */
.main-nav-provider-dropdown--grid.main-nav-provider-dropdown--grid-cocks {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-height: none;
  gap: 8px;
  padding: 14px 16px;
}
.main-nav-provider-dropdown--grid-cocks .provider-card {
  background: #2a2a2a;
  border-radius: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.main-nav-provider-dropdown--grid-cocks .provider-card:last-child {
  border-right: none;
}
.main-nav-provider-dropdown--grid-cocks .provider-card:hover {
  background: #333;
}
.main-nav-provider-dropdown--grid-cocks .provider-card::after {
  content: none !important;
}

@media (max-width: 768px) {
  .main-nav-provider-dropdown {
    display: none !important;
  }
  .main-nav-provider-dropdown--grid {
    padding: 10px 12px;
    gap: 6px;
  }
  .main-nav-provider-dropdown--grid .provider-card {
    padding: 10px 8px;
  }
}

.main-nav-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  -webkit-user-drag: none;
  user-select: none;
}
.main-nav-list li a:hover {
  color: #1a1a1a;
  text-decoration: none;
}
.main-nav-list .category-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
}
.main-nav-list .category-label {
  display: block;
  line-height: 1.2;
  font-size: 14px;
  padding: 3px 0;
}
.main-nav-list .icon-sport {
  background: url("../images/nav/sport.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-sport {
  background: url("../images/nav/hover/sport.svg") no-repeat center center;
  background-size: 100% 100%;
 /* width: 30px;
  height: 30px;*/
}
ul.main-nav-list li.is-active> a span.icon-sport {
  background: url("../images/nav/hover/sport.svg") no-repeat center center;
  background-size: 100% 100%;
  width: 30px;
  height: 30px;
}
.main-nav-list .icon-casino {
  background: url("../images/nav/casino.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-casino,
ul.main-nav-list li.is-active> a span.icon-casino {
  background: url("../images/nav/hover/casino.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-slot {
  background: url("../images/nav/slot.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-slot,
ul.main-nav-list li.is-active> a span.icon-slot {
  background: url("../images/nav/hover/slot.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-fishing {
  background: url("../images/nav/fishing.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-fishing,
ul.main-nav-list li.is-active> a span.icon-fishing {
  background: url("../images/nav/hover/fishing.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-crash {
  background: url("../images/nav/crash.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-crash,
ul.main-nav-list li.is-active> a span.icon-crash {
  background: url("../images/nav/hover/crash.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-arcade {
  background: url("../images/nav/arcade.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-arcade,
ul.main-nav-list li.is-active> a span.icon-arcade {
  background: url("../images/nav/hover/arcade.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-cocks {
  background: url("../images/nav/cocks.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-cocks,
ul.main-nav-list li.is-active> a span.icon-cocks {
  background: url("../images/nav/hover/cocks.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-lottery {
  background: url("../images/nav/lottery.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-lottery,
ul.main-nav-list li.is-active> a span.icon-lottery {
  background: url("../images/nav/hover/lottery.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-table-game {
  background: url("../images/nav/table_game.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-table-game,
ul.main-nav-list li.is-active> a span.icon-table-game {
  background: url("../images/nav/hover/table_game.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-keno {
  background: url("../images/nav/keno.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-keno,
ul.main-nav-list li.is-active> a span.icon-keno {
  background: url("../images/nav/hover/keno.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-freebet {
  background: url("../images/nav/freebet.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-freebet,
ul.main-nav-list li.is-active> a span.icon-freebet {
  background: url("../images/nav/hover/freebet.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-new-games {
  background: url("../images/nav/new_game.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-new-games,
ul.main-nav-list li.is-active> a span.icon-new-games {
  background: url("../images/nav/hover/new_game.svg") no-repeat center center;
  background-size: 100% 100%;

}
.main-nav-list .icon-popular {
  background: url("../images/nav/popolar.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-popular,
ul.main-nav-list li.is-active> a span.icon-popular {
  background: url("../images/nav/hover/popular.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-favourites {
  background: url("../images/nav/favorites.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-favourites,
ul.main-nav-list li.is-active> a span.icon-favourites {
  background: url("../images/nav/hover/favorites.svg") no-repeat center center;
  background-size: 100% 100%;
}
.main-nav-list .icon-recent {
  background: url("../images/nav/recent.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li:hover> a span.icon-recent,
ul.main-nav-list li.is-active> a span.icon-recent {
  background: url("../images/nav/hover/recent.svg") no-repeat center center;
  background-size: 100% 100%;
}
ul.main-nav-list li {
  position: relative;
  z-index: 1;
}
@media (min-width: 769px) {
  .main-nav-list {
    align-items: stretch;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    cursor: grab;
  }
  .main-nav-list.is-drag-scrolling {
    cursor: grabbing;
    user-select: none;
  }
  .main-nav-list li {
    scroll-snap-align: start;
    align-self: stretch;
    height: auto;
    min-height: 0;
  }
  ul.main-nav-list li:hover {
    background-image: none;
  }
  /* Active lobby tab must reach the yellow bar bottom so no gold lip shows under it */
  ul.main-nav-list li.is-active {
    background-image: url("../images/nav/nav-active.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
    /*box-shadow: inset 0 -2px 0 0 #0f0f0f;*/
  }
  .main-nav-list-indicator {
    height: 100%;
    background-position: center bottom;
  }
}
@media (max-width: 768px) {
  .main-nav-list-indicator {
    display: none !important;
  }
  .main-nav-inner {
    touch-action: pan-x pan-y;
  }
  .main-nav-list {
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  ul.main-nav-list li {
    background-position: var(--bg-x, 50%) var(--bg-y, 50%);
    transition: background-position 0.2s ease;
  }
  ul.main-nav-list li.is-active {
    background-image: url("../images/nav/nav-active.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: var(--bg-x, 50%) var(--bg-y, 50%);
  }
}
ul.main-nav-list li:hover> a span.category-label {
  color: #f0c14b !important;
  display: none;
}
ul.main-nav-list li.is-active > a span.category-label {
  display: none;
}
ul.main-nav-list li:hover> a span.category-icon,
ul.main-nav-list li.is-active> a span.category-icon{
  width: 44px;
  height: 44px;
}
ul.main-nav-list li a:focus-visible {
  outline: 2px solid #f0c14b;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Gold divider like .header-btn-sep; omit on last item */
ul.main-nav-list li:not(:last-child) {
  position: relative;
}
ul.main-nav-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: rgba(59, 59, 59, 0.25);
  pointer-events: none;
}

.main-nav-next {
  width: 100%;
  max-width: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px 10px 10px;
  background: linear-gradient(135deg, rgba(246, 212, 73, 0) 0%, #f3ce45 50%, #c7850a 100%);
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  z-index: 100;
  pointer-events: auto;
}

.main-nav-next-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.main-nav-next-link img,
.main-nav-next a img {
  display: block;
  width: auto;
  height: 28px;
  max-width: 32px;
  object-fit: contain;
  vertical-align: middle;
}

/* ----- Main nav + announcement stack (mobile: announcement above nav) ----- */
.nav-announcement-stack {
  display: flex;
  flex-direction: column;
}

/* ----- Announcement ----- */
/* ----- Announcement (same as promo-bar-inner) ----- */
.announcement {
  padding: 0 15px;
  background: #000;
}
@media (min-width: 769px) {
  .announcement {
    margin-bottom: 10px;
  }
}
.announcement-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1370px;
  margin: 0 auto;
  padding: 0;
}
.announcement-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  object-fit: contain;
  vertical-align: middle;
  background: #1e1e1e;
  padding: 7px;
  border-radius: 5px;
}
.announcement-text-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.announcement-text {
  margin: 0;
  font-size: 0.8rem;
  color: #fff;
  line-height: 1.4;
}
.announcement-text-run {
  display: flex;
  white-space: nowrap;
  gap: 3em;
  animation: announcement-run 25s linear infinite;
  will-change: transform;
}
.announcement-text-run span {
  flex-shrink: 0;
}
.announcement-datetime {
  flex-shrink: 0;
  margin-left: auto;
  padding: 13px 15px;
  background: #1e1e1e;
  border-radius: 8px;
  color: #f9d94e;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
@keyframes announcement-run {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- Main content ----- */
.main {
  flex: 1;
  padding: 10px 0;
}
@media (max-width: 768px) {
  .main {
    padding: 0;
  }
}

.container {
  max-width: 1370px;
  margin: 0 auto;
  padding: 0;
}

/* ----- Section common ----- */
.section {
  margin-bottom: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  gap: var(--space-md);
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-dot {
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
}

.section-title {
  margin: 0 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f9d94e;
}

.section-link {
  font-size: var(--text-24);
  color: var(--color-accent);
  font-weight: 500;
}
.section-link:hover {
  color: var(--color-accent-hover);
  text-decoration: none;
}

.section-title-center {
  margin: 0 0 var(--space-lg);
  font-size: var(--text-27);
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}

/* ----- Section cards (Popular / New – same as reference section + game-grid) ----- */
.section-cards .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-cards .section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9d94e;
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 0.8rem;
  }
}
.section-cards .section-title .section-icon {
  font-size: 1.2em;
  line-height: 1;
}
.section-cards .section-title .section-icon img {
  display: block;
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
}
.section-cards .section-link {
  font-size: 0.9rem;
  color: #f9d94e;
}
.section-cards .section-link:hover {
  color: #f9d94e;
  text-decoration: none;
}
.section-cards .game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.section-cards .game-card {
  border: 1px solid #faf58f;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-bg-card);
  aspect-ratio: 125 / 156;
  cursor: pointer;
  contain: layout style paint;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section-cards .game-card:hover {
  border-color: #faf58f;
  outline: none;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.section-cards .game-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.section-cards .game-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(145deg, #2a2a35, #1e1e26);
  color: var(--color-text-muted);
}
.section-cards .game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .section-cards .game-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
  }
}
@media (min-width: 992px) {
  .section-cards .game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (min-width: 1200px) {
  .section-cards .game-grid {
    grid-template-columns: repeat(9, 1fr);
    gap: 13px;
  }
}

/* ----- Hot Football Match (same as section--match) ----- */
.section--match {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 0 16px 24px;
  margin-bottom: 16px;
  overflow-x: hidden;
}
.section-head-match {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  margin: 0 0 20px 0;
  border-radius: 12px 12px 0 0;
  min-height: 48px;
  justify-content: flex-start;
}
.section-title--match {
  color: #f9d94e;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.section-title--match .section-icon--left {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.section-title-star {
  width: 40px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(0deg, #c9870c 0%, #f9d94e 100%);
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  border: 1px solid #f9d94e;
}
.section-title-star-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}
.section-head-match__row {
  display: contents;
}
.section-head-match__arrows {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .section-head-match .section-title--match,
  .section-head-match .section-title {
    order: 1;
  }
  .section-head-match .league-tabs-wrap {
    order: 2;
  }
  .section-head-match__arrows {
    order: 3;
  }
}
.league-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.section--match .league-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.section--match .league-tabs::-webkit-scrollbar {
  display: none;
}
.section--match .league-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  border: 1px solid #f9d94e;
  scroll-snap-align: start;
  font-weight: 500;
  cursor: pointer;
}
.section--match .league-tab.active {
  /*background: linear-gradient(180deg, #f7d64b 0%, #c5990e 100%);
  color: #1c1e20;*/
  font-weight: 600;
  border-color: #f9d94e;
}
.tab-arrow {
  flex-shrink: 0;
  width: 60px;
  height: 30px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  border: none;
}
.tab-arrow--prev {
  background: #27272a;
  color: #a0a0a0;
}
.tab-arrow--next {
  background: #27272a;
  color: #a0a0a0;
}
.tab-arrow--prev.is-active,
.tab-arrow--next.is-active {
  background: #f9d94e;
  color: #27272a;
}
.tab-arrow--prev.is-active .tab-arrow-icon,
.tab-arrow--next.is-active .tab-arrow-icon,
.tab-arrow--prev.is-active.slick-arrow .tab-arrow-icon,
.tab-arrow--next.is-active.slick-arrow .tab-arrow-icon {
  filter: brightness(0) saturate(100%) invert(15%) sepia(5%) saturate(207%) hue-rotate(182deg) brightness(96%) contrast(89%);
}
.tab-arrow-icon {
  display: block;
  width: 10px;
  height: 10px;
  object-fit: contain;
}
.matches-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
}
.matches-scroll::-webkit-scrollbar {
  display: none;
}
/* Slick overrides when matches-scroll is a slider */
.matches-scroll.slick-initialized {
  display: block;
  overflow: visible;
  padding: 0;
}
.matches-scroll .slick-list {
  margin: 0 -8px;
}
.matches-scroll .slick-slide {
  margin: 0 8px;
  height: inherit;
}
.matches-scroll .slick-slide > div {
  height: 100%;
}
.section--match .match-card {
  flex: 0 0 min(100%, 300px);
  scroll-snap-align: start;
  background: url("../images/match/bghot.png") center no-repeat;
  background-size: 100% 100%;
  padding: 12px 14px 7px;
  position: relative;
  overflow: hidden;
}
.matches-scroll.slick-initialized .match-card {
  flex: none;
  width: 100%;
  min-height: var(--match-card-h, 176px);
}
.matches-scroll:not(.slick-initialized) .match-card:only-child {
  flex: 1 1 100%;
  max-width: 100%;
}
.matches-scroll:not(.slick-initialized) .match-card:first-child:nth-last-child(2),
.matches-scroll:not(.slick-initialized) .match-card:first-child:nth-last-child(2) ~ .match-card {
  flex: 1 1 0;
  min-width: calc((100% - 16px) / 2);
  max-width: calc((100% - 16px) / 2);
}
.matches-scroll:not(.slick-initialized) .match-card:first-child:nth-last-child(3),
.matches-scroll:not(.slick-initialized) .match-card:first-child:nth-last-child(3) ~ .match-card {
  flex: 1 1 0;
  min-width: calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
}
@media (min-width: 768px) {
  .matches-scroll:not(.slick-initialized) .match-card:first-child:nth-last-child(n+4),
  .matches-scroll:not(.slick-initialized) .match-card:first-child:nth-last-child(n+4) ~ .match-card {
    flex: 1 1 0;
    min-width: calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
  }
}
.match-header {
  text-align: center;
  position: relative;
  z-index: 1;
}
.match-league {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffd700;
  margin-bottom: 4px;
}
.match-week {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
}
.match-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.match-body-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
}
.match-body-row--labels {
  margin-bottom: 2px;
}
.match-body-row--names {
  margin-top: 4px;
}
.match-body .team-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}
.match-body .team-name {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
}
.match-golden {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  position: relative;
}
.match-golden .team-crest {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}
.match-golden .match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 8px;
}
.match-golden .match-date {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 400;
  white-space: nowrap;
}
.match-golden .match-time {
  font-size: 0.75rem;
  color: #fff;
  font-weight: 400;
}
.match-odds {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.match-odds .odds-label, .odds-btn .odds-value{
 display: inline-block;
}  
.odds-btn span {
  padding: 0 5px;
}
.match-card .odds-btn {
  flex: 1;
  min-width: 52px;
  max-width: 72px;
  display: flex;
  /*flex-direction: column;*/
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #fff;
  gap: 0;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}
a.match-card .odds-btn,
.match-card a.odds-btn {
  color: #fff;
  text-decoration: none;
}
.match-card a.odds-btn:hover,
.match-card a.odds-btn:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}
.match-card .odds-x{
  flex-direction: column;
}
.match-card .odds-btn .odds-label {
  font-size: 0.8rem;
  line-height: 1.1;
  color: #f9d94e;
  font-weight: 500;
  display: block;
}
.match-card .odds-btn .odds-value {
  font-size: 0.8rem;
  opacity: 1;
  color: #f9d94e;
  font-weight: 500;
  display: block;
}
.odds-x span {
  display: block;
}

/* ----- Latest bets and competitions (same as section--latest-bets) ----- */
.latest-bets-panels {
  width: 100%;
}

.section--latest-bets {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 24px 20px 20px;
  margin-bottom: 16px;
  content-visibility: auto;
  contain-intrinsic-size: 0 420px;
}
.latest-bets-title {
  text-align: center;
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9d94e;
}
.latest-bets-tabs-wrap {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
  padding: 4px;
  background: #373737;
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.latest-bets-tab {
  padding: 10px 40px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: #fff;
}
.latest-bets-tab.active {
  background: linear-gradient(180deg, #f7d64b 0%, #c5990e 100%);
  color: #000;
  margin: 3px;
  border-bottom: 1px solid #faf48d;
}
.latest-bets-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}
.latest-bets-table--head {
  margin-bottom: 0;
}
.latest-bets-col-provider {
  width: 28%;
}
.latest-bets-col-game {
  width: 22%;
}
.latest-bets-col-player {
  width: 18%;
}
.latest-bets-col-bet {
  width: 16%;
}
.latest-bets-col-wl {
  width: 16%;
}
.latest-bets-scroll-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.latest-bets-scroll-track {
  --latest-bets-scroll-duration: 90s;
  animation: latestBetsAutoScroll var(--latest-bets-scroll-duration) linear infinite;
  will-change: transform;
}
.latest-bets-table--body {
  margin-bottom: 0;
}
.latest-bets-table--clone {
  margin-top: 0;
}
.section--latest-bets.is-expanded .latest-bets-scroll-wrap {
  height: auto;
  max-height: none;
  overflow: visible;
}
.section--latest-bets.is-expanded .latest-bets-scroll-track {
  animation: none;
  transform: none !important;
}
.section--latest-bets.is-expanded .latest-bets-table--clone {
  display: none;
}
@keyframes latestBetsAutoScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .latest-bets-scroll-track {
    animation: none;
  }
}
.latest-bets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.latest-bets-table thead tr {
  background: #27272a;
}
.latest-bets-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: #f9d94e;
}
.latest-bets-table th.text-right {
  text-align: right;
}
.latest-bets-table tbody tr {
  background: #202020;
  border-bottom: 1px solid #2a2a2a;
}
.latest-bets-table tbody tr:last-child {
  border-bottom: none;
}
.latest-bets-table td {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.9);
}
.latest-bets-table td.text-right {
  text-align: right;
}
.latest-bets-table td.win {
  color: #22c55e;
  font-weight: 500;
}
.latest-bets-table td.loss {
  color: #ef4444;
  font-weight: 500;
}
.latest-bets-table .latest-bets-provider {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.latest-bets-table .provider-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  min-width: 58px;
  height: 24px;
  margin-right: 0;
  flex-shrink: 0;
}
.latest-bets-table .provider-cell img {
  display: block;
  max-width: 100%;
  max-height: 24px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.latest-bets-table .provider-cell--playstar img,
.latest-bets-table .provider-cell--habanero img {
  max-height: 18px;
}
.latest-bets-table .latest-bets-provider-name {
  color: #f9d94e;
  font-weight: 500;
  line-height: 1.2;
}
.latest-bets-footer {
  text-align: center;
}
.latest-bets-show-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
}
.latest-bets-show-more:hover {
  color: #fff;
  text-decoration: none;
}
.latest-bets-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.9;
}
.section--latest-bets.is-expanded .latest-bets-arrow {
  transform: rotate(180deg);
}

/* ----- Ambassador section ----- */
.section-ambassador {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 24px 20px 20px;
  margin-bottom: 16px;
}

.ambassador-slider-nav {
  margin-bottom: var(--space-md);
}

/* Wrapper to control ambassador-head and ambassador-content together */
/* Use .section-ambassador .partnership, .partnership .ambassador-head, .partnership .ambassador-content */

.partnership-slider.slick-initialized .partnership {
  display: block;
}
.partnership-slider .slick-slide {
  outline: none;
}
.partnership-slider .slick-list {
  overflow: hidden;
}

/* Hide Slick default arrow buttons (use custom arrows only) */
.slick-prev.slick-arrow,
.slick-next.slick-arrow {
  display: none !important;
}

.ambassador-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.ambassador-nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
}

.ambassador-nav .section-title {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.ambassador-nav .tab-arrow--prev {
  margin-left: auto;
}

.ambassador-content {
  display: grid;
  grid-template-columns: calc(50% - 1rem - 100px) 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1000px) {
  .ambassador-content {
    grid-template-columns: 1fr;
  }
}

/* Left column: YouTube video (100px smaller than half) */
.ambassador-col-left {
  width: 100%;
}

.ambassador-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ambassador-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Right column: text on top, then circular profile below */
.ambassador-col-right {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}
@media (max-width: 768px) {
  .ambassador-col-right {
    flex-direction: column;
  }
}

.ambassador-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

/* Circular image with yellow background (matches reference) */
.ambassador-media {
  width: 260px;
  height: auto;
}

.ambassador-media-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.ambassador-text {
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.ambassador-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f9d94e;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ambassador-body {
  margin: 0;
  max-width: 42em;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #ffffff;
}

.ambassador-body .ambassador-name-inline {
  font-weight: 700;
  color: #f9d94e;
}

/* ----- Footer (same as reference D:/QODER/k9win) ----- */
.footer {
  margin-top: auto;
  background: #1d1d1d;
  color: rgba(255, 255, 255, 0.9);
  padding: 32px 16px 24px;
  border-top: none;
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}
.footer .container {
  max-width: 1370px;
  margin: 0 auto;
  padding: 0;
}
.footer-heading,
.footer-col-heading {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.footer-partners {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #4a4a4a;
  width: 100%;
}
.footer-partners-grid {
  width: 100%;
  height: auto;
  margin: 0;
}
.footer-partner-logo {
  display: block;
  width: 100%;
  max-width: 88px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  padding: 5px;
  filter: grayscale(100%);
  transition: filter 0.25s ease;
}
@media (min-width: 769px) {
  .footer-partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }
  .footer-partners-grid > .footer-partner-logo-wrap {
    display: contents;
    padding-bottom: 0;
    height: auto;
    border-radius: 0;
    background: none;
    overflow: visible;
    transform: none;
  }
  .footer-partners-grid > .footer-partner-logo-wrap .footer-partner-logo {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
  .footer-partners-grid > .footer-partner-logo,
  .footer-partners-grid > .footer-partner-logo-wrap .footer-partner-logo {
    flex: 0 0 calc((100% - 130px) / 14);
    width: auto;
    max-width: 88px;
    margin: 0;
  }
}
.footer-partner-logo:hover {
  filter: grayscale(0%);
}
.footer-partners-see-more {
  display: none;
}
.footer-links-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 1.1fr;
  gap: 40px 48px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #2a2a2e;
}
.footer-links-row .info-text {
  display: contents;
}
.footer-col-heading {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 700;
}
.footer-col-chevron {
  display: none;
}
.footer-games-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
.footer-col--payment-follow .footer-col-heading--follow {
  margin-top: 24px;
  margin-bottom: 14px;
}
.footer-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-payment-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social-icon {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
}
.footer-social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-sponsorships,
.footer-ambassadors {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #2a2a2e;
}
.footer-sponsorships .footer-col-heading {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: none;
}
.footer-sponsorships-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.footer-sponsor-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.footer-sponsor-logo {
  flex: 0 0 88px;
  width: 88px;
  height: 44px;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.footer-sponsor-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.footer-sponsor-name {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  line-height: 1.3;
  display: block;
}
.footer-sponsor-year {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
  display: block;
}
.footer-ambassadors .footer-col-heading {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: none;
}
.footer-ambassadors-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.footer-ambassador-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.footer-ambassador-sig {
  flex: 0 0 88px;
  width: 88px;
  height: 44px;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.footer-ambassador-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.footer-ambassador-name {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  line-height: 1.3;
  display: block;
}
.footer-ambassador-year {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
  display: block;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-bottom-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom-divider {
  display: none;
}
.footer-bottom-main {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.footer-bottom-col {
  flex: 1;
  min-width: 0;
}
.footer-bottom-col--left {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}
.footer-bottom-col--right {
  display: flex;
  flex-direction: column;
}
.footer-bottom-info-text {
  width: 100%;
}
.footer-chevron-wrap--info {
  width: 100%;
}
.footer-bottom-block {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-bottom-top .footer-bottom-block:last-child {
  align-items: center;
  text-align: center;
}
.footer-bottom-top .footer-bottom-block:last-child .footer-bottom-block-content {
  justify-content: center;
}
.footer-bottom-block-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  align-items: center;
}
.footer-bottom-block-content > span {
  margin-right: 0;
}
.footer-bottom-heading {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  order: -1;
}
.footer-bottom-logo {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-right: 12px;
}
.footer-bottom-brand {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}
.footer-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.footer-brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9d94e;
}
.footer-copyright-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-lang-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #2a2a2e;
  border: 1px solid #404044;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
}
.footer-lang-flag {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.footer-lang-arrow {
  display: block;
  width: 12px;
  height: 12px;
  object-fit: contain;
  opacity: 0.8;
}
.footer-lang-dropdown {
  background: transparent;
  color: inherit;
  border: none;
  padding: 0 2px;
  font-size: 0.8rem;
  cursor: pointer;
}
.footer-tagline {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.footer-chevron-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0;
}
.footer-chevron {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.footer-chevron-icon {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: brightness(0) invert(1);
}
.more-info-text-wrap {
  display: none;
}
.more-info-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.more-info-text-icon {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.info-text {
  display: none;
  width: 100%;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  padding: 0;
  margin: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1.55;
  box-sizing: border-box;
}
.info-text.is-open {
  display: block;
}
.footer-bottom-brand.is-expanded .footer-tagline {
  display: none;
}
.footer-bottom-info-text.is-open {
  display: block;
  margin-top: 0;
}
.info-text-subheading {
  margin: 20px 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.info-text-para {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
}
.info-text-para:last-child {
  margin-bottom: 0;
}
.info-text-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  list-style: disc;
}
.info-text-list li {
  margin-bottom: 14px;
  font-size: 0.75rem;
  line-height: 1.55;
}
.info-text-list li:last-child {
  margin-bottom: 0;
}
.footer-bottom-license {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}
.footer-license-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.footer-license-icon {
  width: 100px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.footer-license-content {
  flex: 1;
  min-width: 0;
}
.footer-license-heading {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}
.footer-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-size: 0.75rem;
  margin-left: 6px;
  vertical-align: middle;
}
.footer-license-text {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.footer-license-content .footer-chevron-wrap {
  margin-top: 0;
}
.footer-license-text-more[hidden] {
  display: none;
}
.footer-bottom-license.is-expanded .footer-license-text-more {
  display: inline;
}
.footer-bottom-brand .footer-tagline {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .footer-bottom-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-main {
    flex-direction: column;
  }
  .footer-bottom-brand {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .footer-brand-row {
    flex-direction: column;
    align-items: center;
  }
  .footer-copyright-row {
    justify-content: center;
  }
  .footer-tagline {
    text-align: center;
    max-width: none;
  }
  .footer-bottom-license {
    align-items: center;
    text-align: center;
  }
  .footer-license-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-license-text {
    max-width: none;
    text-align: center;
  }
}
@media (max-width: 599px) {
  .footer-bottom-top,
  .footer-sponsorships,
  .footer-ambassadors,
  .footer-brand,
  .footer-lang-select,
  .footer-tagline {
    display: none;
  }
}
@media (max-width: 768px) {
  .footer-bottom-brand {
    align-items: flex-start;
    text-align: left;
  }
  .footer-brand-row {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #121216;
  }
  .footer-brand-logo {
    height: 44px;
    max-width: 96px;
  }
  .footer-brand-text {
    gap: 4px;
  }
  .footer-brand {
    display: block;
    font-size: 0.7rem;
    line-height: 1.2;
    color: #f2d24f;
  }
  .footer-copyright-row {
    justify-content: flex-start;
    gap: 0;
  }
  .footer-copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
  }
}
@media (max-width: 599px) {
  .footer-brand-row .footer-brand {
    display: block;
  }
}
@media (max-width: 767px) {
  .footer-partners .footer-partner-logo {
    padding: 5px;
  }
  .footer-links-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 24px;
  }
  .footer-col--payment-follow {
    grid-column: span 2;
  }
  .footer-sponsorships-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 991px) {
  .footer-links-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }
  .footer-col--payment-follow {
    grid-column: span 2;
  }
}
@media (max-width: 599px) {
  .footer-games-cols {
    grid-template-columns: 1fr;
  }
}

/* ----- Mobile ----- */
@media (max-width: 768px) {
  :root {
    --content-padding: 16px;
  }

  body.has-mobile-app-banner {
    --mobile-app-banner-height: 56px;
  }

  body.has-mobile-app-banner.mobile-app-banner--scroll-hidden {
    --mobile-app-banner-height: 0px;
  }

  .mobile-app-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 710;
    height: calc(var(--mobile-app-banner-height) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 12px 0 8px;
    box-sizing: border-box;
    background: #000;
    border-bottom: 1px solid #2a2a2a;
  }

  .mobile-app-banner[hidden],
  .mobile-app-banner.mobile-app-banner--scroll-hidden {
    display: none !important;
  }

  html {
    height: 100%;
    overflow: hidden;
    scroll-behavior: auto;
  }

  body {
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    padding-top: calc(var(--header-height) + var(--mobile-app-banner-height) + env(safe-area-inset-top, 0px));
  }

  .container {
    padding: 0 15px;
  }

  .header {
    position: fixed;
    top: calc(var(--mobile-app-banner-height) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    padding-top: 0;
    height: var(--header-height);
    box-sizing: border-box;
    z-index: 700;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(var(--header-height) + var(--mobile-app-banner-height) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    background: var(--color-bg-elevated);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-menu[hidden] {
    display: none;
  }
  .nav-menu:not([hidden]) {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-announcement-stack .announcement {
    order: -1;
  }
  .main-nav {
    padding: 0 15px;
    margin-bottom: 5px;
    box-sizing: border-box;
    touch-action: pan-y;
  }
  .main-nav.is-fixed {
    position: fixed;
    top: calc(var(--header-height) + var(--mobile-app-banner-height) + env(safe-area-inset-top, 0px));
    z-index: 699;
    background: #000;
    touch-action: pan-y;
  }

  .announcement {
    margin-top: 5px;
    padding: 5px 0;
  }
  .announcement-inner {
    padding: 0 15px;
    gap: 8px;
  }
  .announcement-datetime {
    display: none;
  }

  .profile-drawer__vip {
    border-radius: 16px;
  }
  .profile-drawer__side {
    padding: 0;
  }
  .profile-drawer__wallet-control {
    padding: 10px 0;
  }
  .profile-drawer__vip-inner {
    min-height: 118px;
    padding: 12px 14px 10px;
  }
  .profile-drawer__vip-copy {
    max-width: 54%;
    min-height: 72px;
  }
  .profile-drawer__vip-level {
    font-size: 12px;
    font-weight: 600;
  }

  .profile-drawer__vip-amount {
    font-size: 11px;
  }
  .profile-drawer__vip-btn {
    margin-top: auto;
    padding: 7px 14px;
    font-size: 10px;
    background: #5b4a2a;
    border-radius: 10px;
    box-shadow: none;
  }

  .promo-strip {
    padding: 0;
  }

  .promo-inner {
    padding: 0 15px;
  }

  .promo-inner .promo-prev,
  .promo-inner .promo-next {
    display: none !important;
  }
  .promo-inner .carousel-btn {
    width: 36px;
    height: 36px;
  }
  .promo-inner .carousel-btn-icon {
    width: 10px;
    height: 10px;
  }

  .promo-card {
    border-radius: 0;
    border: none;
  }

  .section-cards .game-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .section-cards .game-grid::-webkit-scrollbar {
    display: none;
  }
  .section-cards .game-card {
    flex: 0 0 auto;
    width: calc((100% - 36px) / 4);
    min-width: calc((100% - 36px) / 4);
    scroll-snap-align: start;
  }

  .main-nav-next {
    display: none !important;
  }

  /* Main nav mobile: golden pill bar, home segment, icon+label items with dividers */
  .main-nav-inner {
    min-height: 45px;
    border-radius: 5px;
    background: #f5d84d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
  }
  .main-nav-home {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    min-width: 56px;
    padding: 5px 10px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav-home-link img {
    max-width: 36px;
    height: auto;
  }
  .main-nav-list {
    flex: 1;
    min-width: 0;
    padding: 5px 15px 0px 15px;
    overflow-x: auto;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .main-nav-list::-webkit-scrollbar {
    display: none;
  }
  .main-nav-list li {
    scroll-snap-align: start;
    flex: 0 0 calc(100% / 4);
    max-width: calc(100% / 4);
    min-width: calc(100% / 4);
    min-height: 40px;
    height: 100%;
    margin: 0;
    padding: 0;
    background: none;
    display: flex;
    align-items: stretch;
    justify-content: center;
  }
  /* Mobile: CSS only — no hover flash; active comes from server .is-active after load */
  .main-nav-list li:hover:not(.is-active),
  .main-nav-list li:active:not(.is-active) {
    background: none;
    background-image: none;
    background-color: transparent;
  }
  .main-nav-list li.is-active {
    background-image: url("../images/nav/button-bg.png") !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 50% 50%;
    background-color: transparent !important;
    border-radius: 0;
  }
  .main-nav-list li a {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 100%;
    min-height: 40px;
    padding: 4px 2px;
    color: #1a1a1a;
    font-size: 0.65rem;
    font-weight: 500;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
  }
  .main-nav-list .category-icon {
    width: 22px;
    height: 22px;
  }
  ul.main-nav-list li.is-active > a span.category-icon,
  ul.main-nav-list li.is-active > a span.icon-sport {
    width: 26px;
    height: 26px;
  }
  /* Mobile: inactive tabs keep labels; active tab is icon-only (same as desktop) */
  .main-nav-list .category-label {
    display: block;
    font-size: 0.65rem;
    line-height: 1.2;
    padding: 0;
    text-align: center;
  }
  ul.main-nav-list li.is-active > a span.category-label {
    display: none;
  }
}

/* Touch / coarse pointer: sticky :hover must not look like "active" — only .is-active */
@media (hover: none), (pointer: coarse) {
  ul.main-nav-list li:hover:not(.is-active) {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.category-label {
    color: #1a1a1a !important;
    display: block !important;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.category-icon {
    width: 22px !important;
    height: 22px !important;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-sport {
    background: url("../images/nav/sport.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-casino {
    background: url("../images/nav/casino.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-slot {
    background: url("../images/nav/slot.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-fishing {
    background: url("../images/nav/fishing.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-crash {
    background: url("../images/nav/crash.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-arcade {
    background: url("../images/nav/arcade.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-cocks {
    background: url("../images/nav/cocks.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-lottery {
    background: url("../images/nav/lottery.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-table-game {
    background: url("../images/nav/table_game.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-keno {
    background: url("../images/nav/keno.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-freebet {
    background: url("../images/nav/freebet.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-new-games {
    background: url("../images/nav/new_game.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-popular {
    background: url("../images/nav/popolar.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-favourites {
    background: url("../images/nav/favorites.svg") no-repeat center center;
    background-size: 100% 100%;
  }
  ul.main-nav-list li:hover:not(.is-active) > a span.icon-recent {
    background: url("../images/nav/recent.svg") no-repeat center center;
    background-size: 100% 100%;
  }
}

@media (max-width: 768px) {
  /* section--match mobile: dark theme, gold accents, match card with glow */
  .section--match {
    padding: 0 12px 20px;
    border-radius: 12px;
    background: #1a1a1a;
  }
  .section-head-match {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0 8px;
    margin-bottom: 12px;
  }
  .section-head-match__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }
  .section-head-match__arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .section-head-match .section-title--match,
  .section-head-match .section-title {
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
  }
  .section-head-match .section-title--match .section-icon--left,
  .section-head-match .section-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
  }
  .tab-arrow {
    width: 50px;
  }
  .section-head-match .league-tabs-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }
  .section-head-match .section-title-star {
    flex-shrink: 0;
    margin-left: 0;
    width: 35px;
    height: 32px;
  }
  .section-head-match .league-tabs {
    flex: 1 1 0;
    min-width: 0;
  }
  .section--match .league-tabs {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    gap: 8px;
  }
  .section--match .league-tabs::-webkit-scrollbar {
    display: none;
  }
  .section--match .league-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 8px 10px;
    font-size: 0.8rem;
    border-radius: 8px;
    background: #27272a;
    color: #ffffff;
    border: 1px solid #f9d94e;
  }
  .section--match .league-tab.active {
    background: linear-gradient(180deg, #f7d64b 0%, #c5990e 100%);
    color: #1c1e20;
    font-weight: 600;
    border-color: #f9d94e;
  }
  .section--match .tab-arrow--prev,
  .section--match .tab-arrow--next {
    background: #27272a;
    border: 1px solid rgba(249, 217, 78, 0.5);
    color: #f9d94e;
  }
  .section--match .tab-arrow--prev.is-active,
  .section--match .tab-arrow--next.is-active {
    background: #f9d94e;
    color: #27272a;
    border: 1px solid rgba(202, 138, 4, 0.45);
  }
  .section--match .tab-arrow--prev.is-active .tab-arrow-icon,
  .section--match .tab-arrow--next.is-active .tab-arrow-icon,
  .section--match .tab-arrow--prev.is-active.slick-arrow .tab-arrow-icon,
  .section--match .tab-arrow--next.is-active.slick-arrow .tab-arrow-icon {
    filter: brightness(0) saturate(100%) invert(15%) sepia(5%) saturate(207%) hue-rotate(182deg) brightness(96%) contrast(89%);
  }
  .section--match .match-card {
    padding: 12px 14px 14px;
  }
  .section--match .match-league {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f9d94e;
  }
  .section--match .match-week {
    font-size: 0.75rem;
    color: #fff;
  }
  .section--match .match-body .team-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
  }
  .section--match .match-body .team-name {
    color: #fff;
    font-size: 0.75rem;
  }
  .section--match .match-golden .match-date,
  .section--match .match-golden .match-time {
    color: #fff;
  }
  .section--match .match-card .odds-btn {

    color: #fff;
    min-width: 48px;
  }
  .section--match .match-card .odds-btn.odds-x {
    color: #1c1e20;
  }
  .section--match .match-card .odds-btn.odds-x .odds-label,
  .section--match .match-card .odds-btn.odds-x .odds-value {
    color: #f9d94e;
  }

  .latest-bets-tab {
    padding: 8px 33px;
    font-size: 0.8rem;
  }

  .latest-bets-title {
    font-size: 1.1rem;
  }

  .section--latest-bets {
    padding: 10px;
  }

  .latest-bets-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
  }
  .latest-bets-scroll-wrap {
    height: 240px;
  }
  .latest-bets-table-wrap .latest-bets-table,
  .latest-bets-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.8rem;
  }
  .latest-bets-table thead tr {
    background: #1a1a1a;
  }
  .latest-bets-table th {
    padding: 10px 4px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f9d94e;
    line-height: 1.25;
  }
  .latest-bets-table th.text-right {
    text-align: center;
  }
  .latest-bets-table tbody tr {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
  }
  .latest-bets-table tbody tr:last-child {
    border-bottom: none;
  }
  .latest-bets-table td {
    padding: 12px 4px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.65rem;
    color: #fff;
    line-height: 1.3;
    word-break: break-word;
  }
  .latest-bets-table td.text-right {
    text-align: center;
  }
  .latest-bets-table td.win {
    color: #22c55e;
    font-weight: 500;
  }
  .latest-bets-table td.loss {
    color: #ef4444;
    font-weight: 500;
  }
  .latest-bets-table .latest-bets-provider {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
  }
  .latest-bets-table .provider-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
  }
  .latest-bets-table .provider-cell img {
    display: block;
    max-width: 52px;
    max-height: 20px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  .latest-bets-table .provider-cell--playstar img,
  .latest-bets-table .provider-cell--habanero img {
    max-height: 18px;
  }
  .latest-bets-table .latest-bets-provider-name {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: #f9d94e;
    text-align: center;
    line-height: 1.2;
  }

  .ambassador-media {
    width: 140px;
    height: auto;
  }

  .section-ambassador {
    padding: 10px;
  }

  .ambassador-col-right {
    flex-direction: row;
    gap: 0.2rem;
  }
  .ambassador-text {
    font-size: 0.8rem;
    text-align: left;
  }
  .ambassador-text .ambassador-heading,
  .ambassador-text .ambassador-name-inline {
    font-size: 0.7rem;
    color: #f9d94e;
  }
  .ambassador-heading {
    margin: 0 0 0.1rem;
  }
  .ambassador-text .ambassador-body {
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .footer {
    padding: 0;
    padding-bottom: 65px;
    background: none;
    border-top: none;
  }

  .footer .container {
    display: flex;
    flex-direction: column;
    padding: 0 12px;
  }
  .footer-bottom {
    display: contents;
  }
  .footer-bottom-top {
    order: 20;
  }
  .footer-bottom-license {
    order: 0;
  }
  .footer-partners {
    order: 1;
  }
  .footer-links-row {
    order: 2;
  }
  .footer-sponsorships {
    order: 3;
  }
  .footer-ambassadors {
    order: 4;
  }
  .footer-bottom-brand {
    order: 5;
  }
  .footer-bottom-info-text {
    order: 6;
    width: 100%;
    margin-bottom: 16px;
  }
  .footer-chevron-wrap--info {
    order: 7;
    width: 100%;
    margin-top: 0;
    margin-bottom: 16px;
  }
  .footer-bottom-info-text.is-open {
    display: block;
  }

  .footer-links-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin-bottom: 20px;
    background: none;
    border-radius: 10px;
    border: none;
    overflow: hidden;
  }
  .footer-links-row .info-text {
    order: 2;
    display: block;
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
  }
  .footer-links-row .footer-col {
    border-bottom: 1px solid rgba(201, 168, 101, 0.5);
  }
  .footer-links-row .info-text .footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-links-row .info-text .footer-col:last-child {
    border-bottom: none;
  }
  .footer-links-row .footer-col:last-child {
    border-bottom: none;
  }
  .footer-links-row .footer-col--payment-follow {
    order: 1;
    border-bottom: none;
  }
  .footer-links-row .info-text .footer-col-heading {
    color: #aaaaaa;
  }
  .footer-links-row .info-text .footer-col--games.is-expanded .footer-col-heading {
    color: #aaaaaa;
  }
  .footer-links-row .info-text .footer-links a {
    color: rgba(255, 255, 255, 0.75);
  }
  .footer-links-row .info-text .footer-links a:hover {
    color: #aaa;
  }
  .footer-links-row .footer-col-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
  }
  .footer-links-row .footer-col--games.is-expanded .footer-col-heading {
    color: #aaaaaa;
  }
  .footer-links-row .footer-col-chevron {
    display: block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    object-fit: contain;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
  }
  .footer-links-row .footer-col.is-expanded .footer-col-chevron {
    transform: rotate(180deg);
  }
  .footer-links-row .footer-col-content {
    display: none;
    padding: 0 16px 16px 24px;
  }
  .footer-links-row .footer-col.is-expanded .footer-col-content {
    display: block;
  }
  .footer-links-row .footer-games-cols {
    display: block;
  }
  .footer-links-row .footer-games-cols .footer-links {
    margin-bottom: 4px;
  }
  .footer-links-row .footer-links li {
    margin-bottom: 10px;
  }
  .footer-links-row .footer-links a {
    color: #fff;
    font-size: 0.8rem;
  }
  .footer-links-row .footer-col--payment-follow .footer-col-heading,
  .footer-links-row .footer-col--payment-follow .footer-col-content {
    display: block;
  }
  .footer-links-row .footer-col--payment-follow .footer-col-chevron {
    display: none;
  }
  .footer-links-row .footer-col--payment-follow .footer-payment-icons,
  .footer-links-row .footer-col--payment-follow .footer-social-icons {
    padding: 0 16px 16px;
  }

  .footer-links-row .paymentsup {
    padding: 10px;
    margin-bottom: 0;
    background: #000;
    border: 1px solid #3f3614;
    border-radius: 12px;
  }
  .footer-links-row .paymentsup .footer-col-heading {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 24px;
    padding: 0;
    cursor: default;
  }
  .footer-links-row .paymentsup .footer-payment-icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
  }
  .footer-links-row .paymentsup .footer-payment-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    padding: 0;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid #333;
  }

  .footer-links-row .follow-us {
    padding: 10px;
    margin-top: 16px;
    background: #000;
    border: 1px solid #3f3614;
    border-radius: 12px;
  }
  .footer-links-row .follow-us .footer-col-heading--follow {
    text-align: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 24px;
    padding: 0;
  }
  .footer-links-row .follow-us .footer-social-icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 0;
  }
  .footer-links-row .follow-us .footer-social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  .footer-links-row .follow-us .footer-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .footer-partners {
    padding: 10px;
    margin: 0;
    width: 100%;
    background: #000;
    border: 1px solid #3f3614;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .footer-partners .footer-heading {
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 24px;
    padding: 0;
  }
  .footer-partners-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px 6px;
    margin-bottom: 16px;
    padding: 0 8px;
    background: #000;
    width: 100%;
    box-sizing: border-box;
    justify-items: stretch;
    align-items: center;
  }
  /* Collapsed: only 2 rows (6 + 5 = 11 logos) */
  .footer-partners:not(.is-expanded) .footer-partners-grid {
    overflow: hidden;
    grid-template-rows: auto auto;
  }
  .footer-partners:not(.is-expanded) .footer-partners-grid > .footer-partner-logo-wrap--more,
  .footer-partners:not(.is-expanded) .footer-partners-grid > :nth-child(n + 12) {
    display: none !important;
  }
  .footer-partners.is-expanded .footer-partners-grid > .footer-partner-logo-wrap--more {
    display: block;
  }
  /* Row 1: 6 logos */
  .footer-partners-grid > :nth-child(-n + 6) {
    grid-row: 1;
    grid-column: span 2;
  }
  /* Row 2: 5 logos centered */
  .footer-partners-grid > :nth-child(7) {
    grid-row: 2;
    grid-column: 2 / span 2;
  }
  .footer-partners-grid > :nth-child(8) {
    grid-row: 2;
    grid-column: 4 / span 2;
  }
  .footer-partners-grid > :nth-child(9) {
    grid-row: 2;
    grid-column: 6 / span 2;
  }
  .footer-partners-grid > :nth-child(10) {
    grid-row: 2;
    grid-column: 8 / span 2;
  }
  .footer-partners-grid > :nth-child(11) {
    grid-row: 2;
    grid-column: 10 / span 2;
  }
  /* Expanded rows 3+: repeating 6 + 5 pattern */
  .footer-partners-grid > :nth-child(11n + 1),
  .footer-partners-grid > :nth-child(11n + 2),
  .footer-partners-grid > :nth-child(11n + 3),
  .footer-partners-grid > :nth-child(11n + 4),
  .footer-partners-grid > :nth-child(11n + 5),
  .footer-partners-grid > :nth-child(11n + 6) {
    grid-column: span 2;
  }
  .footer-partners-grid > :nth-child(11n + 7) {
    grid-column: 2 / span 2;
  }
  .footer-partners-grid > :nth-child(11n + 8) {
    grid-column: 4 / span 2;
  }
  .footer-partners-grid > :nth-child(11n + 9) {
    grid-column: 6 / span 2;
  }
  .footer-partners-grid > :nth-child(11n + 10) {
    grid-column: 8 / span 2;
  }
  .footer-partners-grid > :nth-child(11n + 11) {
    grid-column: 10 / span 2;
  }
  /* Last partial row (2 logos): centered */
  .footer-partners-grid > :nth-child(73) {
    grid-column: 5 / span 2;
  }
  .footer-partners-grid > :nth-child(74) {
    grid-column: 7 / span 2;
  }
  .footer-partners-grid > .footer-partner-logo-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    box-sizing: border-box;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    background-color: #262626;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
  }
  .footer-partners-grid > .footer-partner-logo-wrap .footer-partner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: 68%;
    max-height: 68%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    background: none;
    box-shadow: none;
    object-fit: contain;
    object-position: center;
    filter: grayscale(0%);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }
  /* Fallback when logo wrap JS has not run (e.g. img still a direct grid child) */
  .footer-partners-grid > .footer-partner-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: none;
    object-fit: contain;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    background-color: #262626;
    border: none;
    box-shadow: none;
    overflow: hidden;
    filter: grayscale(0%);
  }
  .footer-partners-grid > .footer-partner-logo-wrap .footer-partner-logo,
  .footer-partners-grid > .footer-partner-logo {
    padding: 0;
  }
  .footer-partners-see-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0;
  }
  .footer-partners-see-more:hover {
    color: #fff;
    text-decoration: none;
  }
  .footer-partners-see-more-icon {
    display: block;
    width: 10px;
    height: 10px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
  }
  .footer-partners.is-expanded .footer-partners-see-more-icon {
    transform: rotate(180deg);
  }

  .footer-bottom-main {
    display: contents;
  }
  .footer-bottom-col--left,
  .footer-bottom-col--right {
    display: contents;
  }
  .footer-bottom-license {
    width: 100%;
    padding: 10px;
    background: #000;
    border: 1px solid #3f3614;
    border-radius: 12px;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 16px;
  }
  .footer-bottom-license .footer-chevron-wrap {
    order: 10;
  }
  .footer-chevron-wrap--info {
    display: flex;
  }
  .footer-bottom-license .footer-chevron-wrap:not(.footer-chevron-wrap--info) {
    display: none;
  }
  .more-info-text-wrap {
    display: none;
  }
  .more-info-text {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .more-info-text-icon {
    display: block;
    width: 14px;
    height: 14px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
  }
  .info-text {
    display: none;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    font-size: 0.72rem;
    line-height: 1.5;
  }
  .info-text.is-open {
    display: block;
  }
  .footer-bottom-brand.is-expanded .footer-tagline {
    display: none;
  }
  .footer-license-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    display: flex;
    gap: 0;
  }
  .footer-license-block .footer-license-content {
    display: contents;
  }
  .footer-license-block .footer-license-heading {
    order: 1;
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
  }
  .footer-license-block .footer-license-icon {
    order: 2;
    width: 120px;
    margin: 8px auto 16px;
    display: block;
  }
  .footer-license-block .footer-license-text {
    order: 3;
    margin: 0;
    font-size: 0.82rem;
    color: #fff;
    line-height: 1.6;
    max-width: none;
    text-align: center;
  }
  .footer-bottom-license .footer-verified-badge {
    background: #3b82f6;
    color: #fff;
  }

  .bets-table {
    font-size: var(--text-13);
  }
  .bets-table th,
  .bets-table td {
    padding: var(--space-xs) var(--space-sm);
  }
}

/* Bigger mobile (600px–768px): footer-links-row as 4-column layout like desktop */
@media (min-width: 600px) and (max-width: 768px) {
  .footer-links-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr 1.1fr;
    gap: 24px 28px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #2a2a2e;
    background: none;
    border-radius: 0;
    overflow: visible;
  }
  .footer-links-row .info-text {
    display: contents;
    background: none;
    border-radius: 0;
    overflow: visible;
  }
  .footer-links-row .footer-col {
    border-bottom: none;
  }
  .footer-links-row .footer-col-heading {
    display: block;
    padding: 0;
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    cursor: default;
    text-align: left;
  }
  .footer-links-row .footer-col-chevron {
    display: none;
  }
  .footer-links-row .footer-col-content {
    display: block;
    padding: 0;
  }
  .footer-links-row .footer-games-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .footer-links-row .footer-links li {
    margin-bottom: 8px;
  }
  .footer-links-row .footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
  }
  .footer-links-row .footer-links a:hover {
    color: #fff;
  }
  .footer-links-row .footer-col--payment-follow .footer-col-heading,
  .footer-links-row .footer-col--payment-follow .footer-col-content {
    display: block;
  }
  .footer-links-row .footer-col--payment-follow .footer-payment-icons,
  .footer-links-row .footer-col--payment-follow .footer-social-icons {
    padding: 0;
  }
  .footer-links-row .paymentsup {
    padding: 0;
    margin-bottom: 0;
    background: none;
    border: none;
    border-radius: 0;
  }
  .footer-links-row .paymentsup .footer-col-heading {
    display: block;
    text-align: left;
    margin: 0 0 14px;
    padding: 0;
  }
  .footer-links-row .paymentsup .footer-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-start;
    padding: 0 10px;
  }
  .footer-links-row .paymentsup .footer-payment-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
  }
  .footer-links-row .follow-us {
    padding: 0;
    margin-top: 24px;
    margin-bottom: 0;
    background: none;
    border: none;
    border-radius: 0;
  }
  .footer-links-row .follow-us .footer-col-heading--follow {
    text-align: left;
    margin: 0 0 14px;
    padding: 0;
  }
  .footer-links-row .follow-us .footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }
  .footer-links-row .follow-us .footer-social-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
  }
}

/* Scroll to top: circular gold button, black arrow, fixed bottom-right */
.scroll-to-top {
  position: fixed;
  bottom: 70px;
  right: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 768px) {
  body:has(.footer-mobile-nav) {
    padding-bottom: calc(68px + max(12px, env(safe-area-inset-bottom, 0px)));
  }
  .scroll-to-top {
    bottom: calc(72px + max(12px, env(safe-area-inset-bottom, 0px)));
    right: 16px;
    z-index: 1005;
    width: 44px;
    height: 44px;
    display: flex;
    background: url("../images/footer/scroll-top-sm.png") center / contain no-repeat;
  }
  .scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .scroll-to-top-icon {
    width: 44px;
    height: 44px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.scroll-to-top-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Mobile footer nav: fixed bottom bar, dark olive-brown, golden icons + labels */
.footer-mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  body.page--rewards:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    .footer-mobile-nav {
    display: none !important;
  }
  .footer-mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    background: #382f19;
    padding: 10px 8px 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 950;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
    overflow: visible;
    touch-action: manipulation;
  }
  .footer-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #c9a227;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-mobile-nav-item:hover,
  .footer-mobile-nav-item:focus-visible {
    color: #e0b830;
  }
  .footer-mobile-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
  }
  .footer-mobile-nav-icon-img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
  }
  .footer-mobile-nav-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #fff;
    background: #e53935;
    border-radius: 50%;
  }
  .footer-mobile-nav-label {
    color: #fff;
    line-height: 1.2;
  }
  .footer-mobile-nav-item.is-active .footer-mobile-nav-label {
    color: #fff;
  }

  .footer-mobile-nav-funds-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    overflow: visible;
  }
  .footer-funds-popup {
    position: fixed;
    bottom: calc(64px + max(12px, env(safe-area-inset-bottom, 0px)));
    left: 50%;
    z-index: 1001;
    width: max-content;
    min-width: 168px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  .footer-funds-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .footer-funds-popup__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    margin: 0;
    padding: 0;
  }
  .footer-funds-popup__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: #1a1a1a;
    border: 1px solid #f9d94e;
    border-radius: 999px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  }
  .footer-funds-popup.is-open .footer-funds-popup__btn {
    opacity: 1;
    transform: translateY(0);
  }
  .footer-funds-popup.is-open .footer-funds-popup__btn--deposit {
    transition-delay: 0.05s;
  }
  .footer-funds-popup.is-open .footer-funds-popup__btn--withdrawal {
    transition-delay: 0.12s;
  }
  .footer-funds-popup__btn--deposit,
  .footer-funds-popup__btn--withdrawal {
    transition-delay: 0s;
  }
  .footer-funds-popup__btn:hover,
  .footer-funds-popup__btn:focus-visible {
    background: #252525;
    color: #fff;
  }
  .footer-funds-popup__btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
  }
  .footer-funds-popup__btn-icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    display: block;
  }
  .footer-funds-popup__btn-text {
    line-height: 1.2;
  }
}

/* ----- Mobile menu overlay (opens from footer Menu / header menu btn) ----- */
.mobile-menu-overlay {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 12000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  isolation: isolate;
}
.mobile-menu-overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  /*background: rgba(0, 0, 0, 0.45);*/
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(14px);
  /*backdrop-filter: blur(14px);*/
  backdrop-filter: blur(8px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.mobile-menu-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-overlay.is-open::before {
  opacity: 1;
}
@media (min-width: 769px) {
  .mobile-menu-overlay.is-open {
    top: 86px;
  }
  .mobile-menu-overlay.is-open::before {
    top: 86px;
  }
}
@media (max-width: 768px) {
  .mobile-menu-overlay.is-open {
    top: 0;
  }
}
.mobile-menu-panel {
  position: relative;
  z-index: 1;
  min-height: 100%;
  max-width: 300px;
  background: #282828;
  color: #fff;
  padding: 16px 16px 10px;
  font-size: 0.8125rem;
  transform: translate3d(-100%, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.35);
}
.mobile-menu-overlay.is-open .mobile-menu-panel {
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-overlay,
  .mobile-menu-overlay::before,
  .mobile-menu-panel {
    transition: none;
  }
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.mobile-menu-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  right: 0;
  position: absolute;
  top: 0;
}
.mobile-menu-close:hover {
  color: #f9d94e;
}
.mobile-menu-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #c9a227;
}
.mobile-menu-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.mobile-menu-slogan {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.mobile-menu-banner {
  position: relative;
  margin-bottom: 7px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 10px;
}
.mobile-menu-banner-prev,
.mobile-menu-banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: #4d4a38;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.1);
}
.mobile-menu-banner-prev {
  left: -10px;
}
.mobile-menu-banner-next {
  right: -10px;
}
.mobile-menu-banner-prev img,
.mobile-menu-banner-next img {
  width: 10px;
  height: 10px;
  object-fit: contain;
  display: block;
}
.mobile-menu-banner-inner {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
}
.mobile-menu-banner-track {
  display: flex;
  transition: transform 0.3s ease;
  width: 500%;
}
.mobile-menu-banner-slide {
  flex: 0 0 20%;
  position: relative;
  min-width: 0;
}
.mobile-menu-banner-img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.mobile-menu-banner-caption {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 0.65em;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.mobile-menu-welcome {
  text-align: center;
  font-size: 0.95em;
  color: #fff;
  margin: 0 0 7px;
}
.mobile-menu-register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 5px 0;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #F9D94E 0%, #C68308 100%);
  color: #000;
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid #F9D94E;
  border-left-width: 1px;
  border-right-width: 1px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.mobile-menu-register-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.mobile-menu-login-text {
  text-align: center;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 10px;
}
.mobile-menu-login-link {
  color: #e8c35c;
  text-decoration: underline;
}
.mobile-menu-funds-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 16px;
}
.mobile-menu-funds-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  background: #1a1a1a;
  border: 1px solid #F9D94E;
  border-radius: 10px;
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-funds-btn:hover {
  background: #252525;
  color: #fff;
}
.mobile-menu-funds-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-menu-funds-btn-icon img,
.mobile-menu-funds-btn-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.mobile-menu-funds-btn-icon-img {
  opacity: 0.85;
}
.mobile-menu-funds-btn:hover .mobile-menu-funds-btn-icon-img {
  opacity: 1;
}
.mobile-menu-funds-btn-text {
  white-space: nowrap;
}
.mobile-menu-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 7px;
}
.mobile-menu-block {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #171300;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.mobile-menu-block:hover,
.mobile-menu-block:active,
.mobile-menu-block:focus-visible {
  background: #2a2200;
  color: #f9d94e;
}
.mobile-menu-block-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-menu-block-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 10px;
  font-size: 0.7em;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: #ff2727;
  border-radius: 50%;
}
.mobile-menu-block-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: #c9a227;
}
.mobile-menu-block-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.mobile-menu-nav {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  border-radius: 7px;
  overflow: hidden;
}
.mobile-menu-nav li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
  background: #353535;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.mobile-menu-nav li a:hover,
.mobile-menu-nav li a:active,
.mobile-menu-nav li a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #f9d94e;
}
.mobile-menu-nav li a:focus-visible {
  outline: 2px solid #f9d94e;
  outline-offset: -2px;
}
.mobile-menu-nav-icon {
  width: 24px;
  flex-shrink: 0;
  text-align: center;
  color: #c9a227;
  font-size: 1em;
}
.mobile-menu-nav-icon-img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.mobile-menu-nav-text {
  flex: 1;
}
.mobile-menu-nav-lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.mobile-menu-nav-lang-value {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85em;
}
.mobile-menu-nav .profile-drawer__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgb(255 255 255);
  border-bottom: 2px solid rgb(255 255 255);
  transform: rotate(-45deg);
  flex-shrink: 0;
  opacity: 1;
}
.mobile-menu-nav li a:hover .mobile-menu-nav-icon-img,
.mobile-menu-nav li a:active .mobile-menu-nav-icon-img,
.mobile-menu-nav li a:focus-visible .mobile-menu-nav-icon-img {
  filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1200%) hue-rotate(359deg) brightness(103%) contrast(99%);
}
.mobile-menu-nav li a:hover .mobile-menu-nav-lang-value,
.mobile-menu-nav li a:active .mobile-menu-nav-lang-value,
.mobile-menu-nav li a:focus-visible .mobile-menu-nav-lang-value {
  color: #f9d94e;
}
.mobile-menu-nav li a:hover .profile-drawer__chev,
.mobile-menu-nav li a:active .profile-drawer__chev,
.mobile-menu-nav li a:focus-visible .profile-drawer__chev {
  border-color: #f9d94e;
}
.mobile-menu-games-title {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 12px;
  font-weight: 600;
}
.mobile-menu-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mobile-menu-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: #353535;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 0.75em;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.mobile-menu-game:hover,
.mobile-menu-game:active,
.mobile-menu-game:focus-visible {
  background: #454545;
  color: #f9d94e;
}
.mobile-menu-game:focus-visible {
  outline: 2px solid #f9d94e;
  outline-offset: 2px;
}
.mobile-menu-game-icon-img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

/* ----- Language & Currency modal (mobile: slide up from bottom) ----- */
.lang-currency-overlay {
  display: none;
}

@media (max-width: 768px) {
  .lang-currency-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    overscroll-behavior: contain;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .lang-currency-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
  .lang-currency-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 90vh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #000000;
    border-top: 1px solid #f9d94e;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
  .lang-currency-overlay.is-open .lang-currency-sheet {
    transform: translateY(0);
  }
  .lang-currency-handle {
    display: block;
    width: 80px;
    height: 4px;
    margin: 10px auto 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
  }
  .lang-currency-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 0;
  }
  .lang-currency-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
  }
  .lang-currency-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .lang-currency-selected-pill,
  .lang-currency-option,
  .lang-currency-lang {
    -webkit-tap-highlight-color: transparent;
  }
  .lang-currency-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 16px 16px;
    padding: 12px 14px;
    background: #161202;
    border-radius: 10px;
  }
  .lang-currency-notice-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c0392b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
  }
  .lang-currency-notice-icon::before {
    content: '!';
    line-height: 1;
  }
  .lang-currency-notice-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
  }
  .lang-currency-body {
    padding: 0 20px 24px;
  }
  .lang-currency-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 8px;
  }
  .lang-currency-selected-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100px;
    flex-shrink: 0;
    padding: 12px 14px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
    color: #000;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: default;
  }
  .lang-currency-selected-pill .lang-currency-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  .lang-currency-currencies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100px;
  }
  .lang-currency-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background: #2d2d2d;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .lang-currency-option:hover {
    background: #3a3a3a;
  }
  .lang-currency-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  .lang-currency-languages {
    flex: 1;
    min-width: 0;
    display: flex;
  }
  .lang-currency-lang-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    min-height: 44px;
    background: #000;
    border: 1px solid #322b10;
    border-radius: 10px;
    overflow: hidden;
  }
  .lang-currency-lang {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.25;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
  }
  .lang-currency-lang + .lang-currency-lang::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 55%;
    background: rgba(255, 255, 255, 0.25);
  }
  .lang-currency-lang.is-selected {
    color: #fff;
  }
  @media (max-width: 380px) {
    .lang-currency-selected-pill,
    .lang-currency-currencies {
      width: 92px;
    }
    .lang-currency-lang {
      font-size: 0.6rem;
      padding: 10px 2px;
    }
  }
}

/* ----- Contact Us modal (mobile: slide up from bottom, footer Contact click) ----- */
.contact-overlay {
  display: none;
}

@media (max-width: 768px) {
  .contact-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 920;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .contact-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
  .contact-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 92vh;
    padding-bottom: 50px;
    background: #000;
    border-top: 1px solid #F9D94E;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .contact-overlay.is-open .contact-sheet {
    transform: translateY(0);
    z-index: 99999;
  }
  .contact-handle {
    display: block;
    width: 100px;
    height: 2px;
    margin: 10px auto 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
  }
  .contact-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px 0;
  }
  .contact-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }
  .contact-body {
    padding: 0 20px 24px;
  }
  .contact-section {
    margin-bottom: 10px;
  }
  .contact-section:last-child {
    margin-bottom: 0;
  }
  .contact-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding: 7px 18px;
    background: #000;
    border: 1px solid #9a8734;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
  }
  .contact-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #b0b0b0;
  }
  .contact-section-head img.contact-section-icon {
    object-fit: contain;
    display: block;
  }
  .contact-section-icon svg {
    width: 22px;
    height: 22px;
    display: block;
  }
  .contact-list {
    list-style: none;
    margin: 0;
    padding: 5px 16px;
    background: #000;
    border: 1px solid #9a8734;
    border-radius: 10px;
  }
  .contact-list li {
    margin: 0;
  }
  .contact-list li:last-child {
    border-bottom: none;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 0;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    transition: color 0.2s ease;
  }
  .contact-item:hover {
    color: #F9D94E;
  }
  .contact-item-icon {
    width: 29px;
    height: 29px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
  }
  .follow-us-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 0;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    transition: color 0.2s ease;
  }
  .follow-us-item:hover {
    color: #F9D94E;
  }
  .follow-us-item-icon {
    width: 29px;
    height: 29px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
  }
}

/* ----- Casino lobby (Providers + Games) ----- */
.casino-lobby {
  margin-top: var(--lobby-offset-top);
  padding-bottom: var(--lobby-offset-bottom);
}

.lobby-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

/* Desktop: Providers (left) + Games (right) */
@media (min-width: 992px) {
  .lobby-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--lobby-panel-gap);
  }

  /* Slot lobby: align provider search, game search, and tabs to one height */
  .casino-lobby--slot {
    --lobby-toolbar-height: 46px;
  }

  .casino-lobby--slot .lobby-panel-providers > .lobby-search {
    padding: 0 0 14px;
    height: var(--lobby-toolbar-height);
    box-sizing: content-box;
  }

  .casino-lobby--slot .lobby-panel-providers > .lobby-search .lobby-search-input,
  .casino-lobby--slot .lobby-games-bar .lobby-search-input {
    height: var(--lobby-toolbar-height);
    min-height: var(--lobby-toolbar-height);
    box-sizing: border-box;
  }

  .casino-lobby--slot .lobby-games-bar {
    align-items: center;
    min-height: var(--lobby-toolbar-height);
  }

  .casino-lobby--slot .lobby-search--games {
    height: var(--lobby-toolbar-height);
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .casino-lobby--slot .lobby-tabs {
    height: var(--lobby-toolbar-height);
    min-height: var(--lobby-toolbar-height);
    max-height: var(--lobby-toolbar-height);
    padding: 0;
    box-sizing: border-box;
    align-items: stretch;
  }

  .casino-lobby--slot .lobby-tab {
    min-height: 0;
    margin: 0 4px;
    padding: 0 14px;
    align-self: stretch;
  }
}

.lobby-panel-providers {
  min-width: 0;
}

.lobby-panel-head,
.lobby-games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
}

.lobby-panel-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
}

.lobby-search {
  position: relative;
  padding: 0 0 14px;
}

.lobby-search--games {
  padding: 0;
  width: 260px;
}

.lobby-search--games .lobby-search-icon {
  top: 50%;
}

.lobby-games-bar .lobby-search-input {
  background: #202020;
  border-color: rgba(255, 255, 255, 0.10);
}

.lobby-search-input {
  width: 100%;
  height: 42px;
  padding: 0 42px 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #2b2b2b;
  color: rgba(255, 255, 255, 0.92);
  outline: none;
  font-size: 0.9rem;
}

.lobby-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.lobby-search-input:focus {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.lobby-search-icon {
  position: absolute;
  right: 20px;
  top: 40%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  background: url("../images/icon/search_icon.png") no-repeat center / contain;
}

.lobby-search-mobile {
  display: none;
}

.lobby-mobile-toolbar {
  display: none;
}

.lobby-mobile-provider-filter {
  display: none;
}

.lobby-arcade-provider-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #c7850a 100%);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.lobby-provider--text.is-active {
  border-radius: 8px;
  border: 1px solid #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #c7850a 100%);
  box-shadow: none;
}

.lobby-provider--text.is-active .lobby-provider-badge {
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Providers */
.lobby-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.lobby-provider-grid::-webkit-scrollbar {
  display: none;
}

.lobby-provider {
  height: 50px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

@media (min-width: 769px) {
  .lobby-provider-grid {
    gap: 8px;
    max-width: 256px;
  }
  .lobby-provider {
    max-width: 80px;
  }
}

.lobby-provider-hot {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 26px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.lobby-provider--maintenance {
  overflow: visible;
  cursor: not-allowed;
}

.lobby-provider--maintenance:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.10);
  background: #1f1f1f;
}

.lobby-provider--maintenance.is-active {
  border-color: rgba(255, 255, 255, 0.10);
  background: #1f1f1f;
  box-shadow: none;
}

.lobby-provider--maintenance img:not(.lobby-provider-hot):not(.lobby-provider-maint-badge-img) {
  opacity: 0.45;
}

.lobby-provider-maint-badge {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: auto;
  cursor: not-allowed;
}

.lobby-provider-maint-badge-img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  object-fit: contain;
  display: block;
  filter: none !important;
}

.lobby-provider--maintenance:disabled,
.lobby-provider:disabled {
  opacity: 1;
}

.lobby-provider:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  background: #242424;
}

.lobby-provider.is-active {
  border-radius: 8px;
  border: 1px solid #f9d94e;
  background: var(--Main-Linear-color, linear-gradient(180deg, #f9d94e 0%, #c7850a 100%));
  box-shadow: none;
}

.lobby-provider img:not(.lobby-provider-hot):not(.lobby-provider-maint-badge-img) {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: contrast(1.05);
}

.lobby-provider-badge {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

/* Games panel */
.lobby-panel-games {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  min-width: 0;
  padding-bottom: 12px;
}

.lobby-games-bar {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 14px;
}

.lobby-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 7px;
  background: #2a2a2a;
  border: none;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  flex: 1;
  overflow: hidden;
}

.lobby-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 500;
  flex: 1;
  margin: 0 5px;
  border-bottom: 2px solid #b6b6b6;
  padding: 10px 14px;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  position: relative;
  min-height: 44px;
}

.lobby-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
}

.lobby-tab.is-active {
  background: transparent;
  color: #f6d54a;
  font-weight: 600;
  border-bottom: 2px solid #f6d54a;
}

.lobby-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: currentColor;
  opacity: 0.95;
}

.lobby-tab-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.lobby-tab.is-active .lobby-tab-icon img {
  filter: brightness(0) saturate(100%) invert(84%) sepia(53%) saturate(691%) hue-rotate(359deg) brightness(102%) contrast(93%);
  opacity: 1;
}

.lobby-tab-label {
  white-space: nowrap;
}

/* Bonus icon: stacked label look */
.lobby-tab-label small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  opacity: 0.9;
  line-height: 1;
}

.lobby-game-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--lobby-grid-gap);
  padding: 0 0 16px;
}

.lobby-game-card {
  border-radius: 12px;
  border: 1px solid #FAF58F;
  overflow: hidden;
  display: block;
  position: relative;
}

@media (min-width: 769px) {
  .lobby-game-card {
    max-width: 122px;
    min-height: 153px;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid > .lobby-game-card,
  .slots-page .casino-lobby--fishing .lobby-game-grid > .lobby-game-card {
    max-width: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid > .lobby-game-card img,
  .slots-page .casino-lobby--fishing .lobby-game-grid > .lobby-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

a.lobby-game-card:hover {
  transform: translateY(-1px);
  transition: transform 0.12s ease;
}

.lobby-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lobby-game-card-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
}

.lobby-game-card-wrap > .lobby-game-card {
  width: 100%;
  height: 100%;
}

.lobby-game-card-fav {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 4;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lobby-game-card-fav::before {
  content: '';
  width: 11px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5l-1.45-1.32C5.4 13.36 2 10.28 2 6.5 2 3.42 4.42 1 7.5 1c1.74 0 3.41.81 4.5 2.09C13.09 1.81 14.76 1 16.5 1 19.58 1 22 3.42 22 6.5c0 3.78-3.4 6.86-8.55 12.68L12 20.5z'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.9;
}

.lobby-game-card-fav:hover {
  background-color: rgba(0, 0, 0, 0.58);
}

.lobby-game-card-fav.is-active {
  background-color: rgba(0, 0, 0, 0.62);
}

.lobby-game-card-fav.is-active::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f9d94e' stroke='%23f9d94e' stroke-width='1.5'%3E%3Cpath d='M12 20.5l-1.45-1.32C5.4 13.36 2 10.28 2 6.5 2 3.42 4.42 1 7.5 1c1.74 0 3.41.81 4.5 2.09C13.09 1.81 14.76 1 16.5 1 19.58 1 22 3.42 22 6.5c0 3.78-3.4 6.86-8.55 12.68L12 20.5z'/%3E%3C/svg%3E");
  opacity: 1;
}

.lobby-game-card--placeholder {
  background-color: #f4f4f4;
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, 0.10) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.10) 75%, rgba(0, 0, 0, 0.10)),
    linear-gradient(45deg, rgba(0, 0, 0, 0.10) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.10) 75%, rgba(0, 0, 0, 0.10));
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

.lobby-game-grid-wrap {
  position: relative;
  min-height: 220px;
}

.lobby-loading-overlay {
  display: none !important;
}

.lobby-game-grid-wrap.is-loading .lobby-game-grid {
  opacity: 0.45;
  pointer-events: none;
}

.lobby-game-grid-wrap.is-loading .lobby-loading-overlay {
  display: flex !important;
  position: absolute;
  inset: 0;
  z-index: 5;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: rgba(8, 8, 12, 0.35);
  pointer-events: none;
}

.lobby-loading-spinner,
.lobby-load-more-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #f5c400;
  border-radius: 50%;
  animation: lobby-spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.lobby-load-more-spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.lobby-loading-text {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.02em;
}

#load_more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  color: #fff;
}

@keyframes lobby-spin {
  to { transform: rotate(360deg); }
}

/* In-page lobby panels (main-nav soft switch; keep header/nav mounted) */
main.main > .lobby-panel[hidden],
main.main > .lobby-panel:not(.is-active) {
  display: none !important;
}
main.main > .lobby-panel.is-active {
  display: block;
}

/* Global full-page loading (login, register, ajax, etc.) */
.app-loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: all;
}

.app-loading-overlay.is-active {
  display: flex;
}

.app-loading-overlay .lobby-loading-spinner {
  width: 40px;
  height: 40px;
  margin-right: 0;
  border-width: 3px;
}

body.is-app-loading {
  overflow: hidden;
}

.slots-page img.icon-provider {
  width: 1.6rem !important;
}

.slots-page .provider_small_icon {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, .8);
  border-radius: 8px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
}

.lobby-game-card-name {
  display: none;
}

@media (max-width: 992px) {
  .lobby-layout {
    grid-template-columns: 1fr;
  }
  .lobby-game-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .casino-lobby,
  .lobby-layout,
  .lobby-panel-games,
  .lobby-provider-grid {
    min-width: 0;
    max-width: 100%;
  }
  .lobby-panel-head {
    display: none;
  }
  .lobby-layout {
    grid-template-columns: 1fr;
  }
  .lobby-search--games {
    width: 100%;
    flex: 1 1 auto;
    margin: 0;
  }
  .lobby-games-bar {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .casino-lobby--slot .lobby-games-bar,
  .casino-lobby--fishing .lobby-games-bar,
  .casino-lobby--crash .lobby-games-bar,
  .casino-lobby--arcade .lobby-games-bar {
    display: none;
  }
  .casino-lobby--slot .lobby-layout {
    grid-template-columns: minmax(72px, 24%) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas:
      "search search"
      "filters filters"
      "providers games";
    gap: 8px;
    align-items: stretch;
    min-height: calc(100dvh - var(--header-height) - var(--main-nav-height) - 72px - env(safe-area-inset-bottom, 0px));
  }
  .casino-lobby--slot .lobby-search-mobile--slot {
    grid-area: search;
    padding: 10px 0 12px;
  }
  .casino-lobby--slot .lobby-mobile-toolbar {
    display: block;
    grid-area: filters;
    padding: 0 0 8px;
    min-width: 0;
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-width: 0;
    padding: 4px 6px;
    background: #2a2a2a;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tabs::-webkit-scrollbar {
    display: none;
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tab {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 38px;
    margin: 0 2px;
    padding: 6px 4px;
    border-bottom: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tab:nth-child(n+3) {
    display: inline-flex;
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tab .lobby-tab-label {
    display: inline;
    font-size: 0.68rem;
    font-weight: 500;
    white-space: nowrap;
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tab .lobby-tab-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: none;
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tab:nth-child(2) .lobby-tab-icon {
    background: none;
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tab.is-active {
    color: #1a1a1a;
    font-weight: 700;
    border-bottom: none;
    background: linear-gradient(180deg, #f9d94e 0%, #c7850a 100%);
  }
  .casino-lobby--slot .lobby-mobile-toolbar .lobby-tab.is-active .lobby-tab-icon img {
    filter: brightness(0) saturate(100%);
  }
  .casino-lobby--slot .lobby-panel-providers {
    grid-area: providers;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }
  .casino-lobby--slot .lobby-panel-providers > .lobby-search {
    display: none;
  }
  .casino-lobby--slot .lobby-panel-games {
    grid-area: games;
    min-width: 0;
    padding-bottom: 0;
  }
  .casino-lobby--fishing .lobby-layout {
    grid-template-columns: minmax(72px, 24%) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "search search"
      "providers games";
    gap: 8px;
    align-items: stretch;
    min-height: calc(100dvh - var(--header-height) - var(--main-nav-height) - 72px - env(safe-area-inset-bottom, 0px));
  }
  .casino-lobby--fishing .lobby-search-mobile--slot {
    grid-area: search;
    padding: 10px 0 12px;
  }
  .casino-lobby--fishing .lobby-panel-providers {
    grid-area: providers;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }
  .casino-lobby--fishing .lobby-panel-providers > .lobby-search {
    display: none;
  }
  .casino-lobby--fishing .lobby-panel-games {
    grid-area: games;
    min-width: 0;
    padding-bottom: 0;
  }
  .casino-lobby--crash .lobby-layout {
    grid-template-columns: minmax(72px, 24%) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "search search"
      "providers games";
    gap: 8px;
    align-items: stretch;
    min-height: calc(100dvh - var(--header-height) - var(--main-nav-height) - 72px - env(safe-area-inset-bottom, 0px));
  }
  .casino-lobby--crash .lobby-search-mobile--slot {
    grid-area: search;
    padding: 0 0 8px;
  }
  .casino-lobby--crash .lobby-panel-providers {
    grid-area: providers;
    align-self: start;
  }
  .casino-lobby--crash .lobby-panel-providers > .lobby-search {
    display: none;
  }
  .casino-lobby--crash .lobby-panel-games {
    grid-area: games;
    min-width: 0;
    padding-bottom: 0;
  }
  .casino-lobby--slot .lobby-provider-grid,
  .casino-lobby--fishing .lobby-provider-grid,
  .casino-lobby--crash .lobby-provider-grid,
  .casino-lobby--arcade .lobby-provider-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .casino-lobby--slot .lobby-panel-providers,
  .casino-lobby--fishing .lobby-panel-providers,
  .casino-lobby--crash .lobby-panel-providers {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    align-self: stretch;
  }
  .casino-lobby--slot .lobby-provider-grid {
    gap: 6px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
  .casino-lobby--fishing .lobby-provider-grid {
    gap: 6px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
  .casino-lobby--crash .lobby-provider-grid {
    gap: 6px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
  .casino-lobby--slot .lobby-panel-games,
  .casino-lobby--fishing .lobby-panel-games {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .casino-lobby--slot .lobby-game-grid-wrap,
  .casino-lobby--fishing .lobby-game-grid-wrap {
    flex: 1 1 auto;
    min-height: 0;
  }
  .casino-lobby--slot .lobby-provider,
  .casino-lobby--fishing .lobby-provider,
  .casino-lobby--crash .lobby-provider,
  .casino-lobby--arcade .lobby-provider {
    width: 100%;
    min-height: 44px;
    height: 44px;
    border-radius: 10px;
    padding: 8px;
  }
  .casino-lobby--slot .lobby-provider {
    min-height: 40px;
    height: 40px;
    padding: 6px 4px;
    border-radius: 8px;
  }
  /*.casino-lobby--slot .lobby-provider img:not(.lobby-provider-hot):not(.lobby-provider-maint-badge-img) {
    max-height: 22px;
  }*/
  .casino-lobby--slot .lobby-provider-hot {
    top: -5px;
    left: -3px;
    right: auto;
    width: 30px;
  }
  .casino-lobby--fishing .lobby-provider {
    min-height: 40px;
    height: 40px;
    padding: 6px 4px;
    border-radius: 8px;
  }
  .casino-lobby--fishing .lobby-provider img:not(.lobby-provider-hot):not(.lobby-provider-maint-badge-img) {
    max-height: 22px;
  }
  .casino-lobby--fishing .lobby-provider-hot {
    top: -5px;
    right: -3px;
    width: 22px;
  }
  .casino-lobby--crash .lobby-provider {
    min-height: 40px;
    height: 40px;
    padding: 6px 4px;
    border-radius: 8px;
  }
  .casino-lobby--crash .lobby-provider img:not(.lobby-provider-hot):not(.lobby-provider-maint-badge-img) {
    max-height: 22px;
  }
  .casino-lobby--crash .lobby-provider-hot {
    top: -5px;
    right: -3px;
    width: 22px;
  }
  .casino-lobby--fishing .lobby-panel-games,
  .casino-lobby--crash .lobby-panel-games,
  .casino-lobby--arcade .lobby-panel-games {
    min-width: 0;
  }
  .casino-lobby--slot .lobby-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
  }
  .casino-lobby--slot .lobby-game-grid:not(.lobby-game-grid--list) .lobby-game-card,
  .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) .lobby-game-card,
  .casino-lobby--crash .lobby-game-grid:not(.lobby-game-grid--list) .lobby-game-card {
    border-radius: 10px;
    border-color: rgba(250, 245, 143, 0.35);
    aspect-ratio: 4 / 5;
  }
  .casino-lobby--slot .lobby-game-grid:not(.lobby-game-grid--list) .lobby-game-card img,
  .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) .lobby-game-card img,
  .casino-lobby--crash .lobby-game-grid:not(.lobby-game-grid--list) .lobby-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .casino-lobby--slot {
    margin-top: 10px;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .casino-lobby--fishing .lobby-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
  }
  .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) .lobby-game-card {
    border-radius: 10px;
    border-color: rgba(250, 245, 143, 0.35);
    aspect-ratio: 4 / 5;
  }
  .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) .lobby-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .casino-lobby--fishing {
    margin-top: var(--lobby-offset-top);
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .casino-lobby--crash .lobby-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
  }
  .casino-lobby--crash {
    margin-top: var(--lobby-offset-top);
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .casino-lobby--arcade .lobby-layout {
    grid-template-columns: minmax(72px, 24%) minmax(0, 1fr);
    grid-template-areas:
      "search search"
      "providers games";
    gap: 8px;
    align-items: start;
  }
  .casino-lobby--arcade .lobby-search-mobile--slot {
    grid-area: search;
    padding: 0 0 8px;
  }
  .casino-lobby--arcade .lobby-panel-providers {
    grid-area: providers;
    align-self: start;
  }
  .casino-lobby--arcade .lobby-panel-providers > .lobby-search {
    display: none;
  }
  .casino-lobby--arcade .lobby-panel-games {
    grid-area: games;
    min-width: 0;
    padding-bottom: 0;
  }
  .casino-lobby--arcade .lobby-provider-grid {
    gap: 6px;
    max-height: none;
  }
  .casino-lobby--arcade .lobby-provider {
    min-height: 40px;
    height: 40px;
    padding: 6px 4px;
    border-radius: 8px;
  }
  .casino-lobby--arcade .lobby-provider img:not(.lobby-provider-hot):not(.lobby-provider-maint-badge-img) {
    max-height: 22px;
  }
  .casino-lobby--arcade .lobby-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
  }
  .casino-lobby--arcade .lobby-game-card {
    border-radius: 10px;
    border-color: rgba(250, 245, 143, 0.35);
    aspect-ratio: 4 / 5;
  }
  .casino-lobby--arcade .lobby-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .casino-lobby--arcade {
    margin-top: var(--lobby-offset-top);
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .lobby-search--games .lobby-search-input {
    height: 46px;
    border-radius: 12px;
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 14px 0 42px;
    font-size: 0.95rem;
  }
  .lobby-search--games .lobby-search-icon {
    left: 14px;
    right: auto;
    top: 50%;
    width: 15px;
    height: 15px;
    background: url("../images/icon/search_icon.png") no-repeat center / contain;
  }
  .lobby-search-icon {
    display: none;
  }
  .casino-lobby--slot .lobby-layout > .lobby-search-mobile--slot,
  .casino-lobby--fishing .lobby-layout > .lobby-search-mobile--slot,
  .casino-lobby--crash .lobby-layout > .lobby-search-mobile--slot,
  .casino-lobby--arcade .lobby-layout > .lobby-search-mobile--slot {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 10px;
    align-items: center;
    padding: 12px 0 14px !important;
    grid-column: 1 / -1;
  }
  .lobby-search-mobile-field {
    position: relative;
  }
  .lobby-search-mobile-input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1f1f1f;
    color: rgba(255, 255, 255, 0.92);
    outline: none;
    font-size: 0.95rem;
  }
  .lobby-search-mobile-input::placeholder {
    color: rgba(255, 255, 255, 0.52);
  }
  .lobby-search-mobile-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("../images/icon/scearch.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
  }
  .lobby-search-mobile-view {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    flex-shrink: 0;
    width: 54px;
    height: 22px;
    pointer-events: auto;
  }
  .lobby-view-btn {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    opacity: 0.45;
    flex-shrink: 0;
  }
  .lobby-view-btn.is-active {
    opacity: 1;
  }
  .lobby-view-btn--grid {
    background-image: url("../images/icon/grid.png");
  }
  .lobby-view-btn--list {
    background-image: url("../images/icon/playlist.png");
  }
  .lobby-game-grid--list {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .lobby-game-grid--list > .lobby-game-card-wrap {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    width: 100%;
  }
  .lobby-game-grid--list .lobby-game-card-wrap > .lobby-game-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    aspect-ratio: auto;
    min-height: 56px;
    height: auto;
    width: 100%;
    padding: 6px 8px;
  }
  .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 8px;
    object-fit: cover;
  }
  .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card-name {
    display: block;
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lobby-game-grid--list .lobby-game-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    aspect-ratio: auto;
    min-height: 56px;
    height: auto;
    padding: 6px 8px;
  }
  .lobby-game-grid--list .lobby-game-card img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 8px;
    object-fit: cover;
  }
  .lobby-game-grid--list .lobby-game-card-name {
    display: block;
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lobby-game-grid-wrap.is-loading .lobby-loading-overlay {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    background: rgba(8, 8, 12, 0.35) !important;
    pointer-events: none;
  }
  .slots-page .casino-lobby--slot .lobby-panel-games,
  .slots-page .casino-lobby--fishing .lobby-panel-games {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .slots-page .casino-lobby--slot .lobby-game-grid-wrap,
  .slots-page .casino-lobby--fishing .lobby-game-grid-wrap {
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }
  .slots-page .casino-lobby--slot,
  .slots-page .casino-lobby--fishing {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .slots-page .casino-lobby--slot .lobby-layout {
    grid-template-rows: auto auto auto !important;
    align-items: start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .slots-page .casino-lobby--fishing .lobby-layout {
    grid-template-rows: auto auto !important;
    align-items: start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .slots-page .casino-lobby--slot .lobby-panel-providers,
  .slots-page .casino-lobby--fishing .lobby-panel-providers {
    align-self: start !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: sticky !important;
    top: calc(var(--header-height) + 8px) !important;
    z-index: 2;
  }
  .slots-page .casino-lobby--slot .lobby-provider-grid,
  .slots-page .casino-lobby--fishing .lobby-provider-grid {
    flex: 0 1 auto !important;
    min-height: 0 !important;
    /* Fallback; JS syncs to footer top so last provider stays visible */
    max-height: calc(100dvh - var(--header-height) - var(--main-nav-height, 70px) - 160px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px !important;
    box-sizing: border-box !important;
  }
  .slots-page .casino-lobby--slot .lobby-provider-grid::-webkit-scrollbar,
  .slots-page .casino-lobby--fishing .lobby-provider-grid::-webkit-scrollbar {
    display: none;
  }
  /* Slot items: height auto from column width + 4:5 ratio */
  .slots-page .casino-lobby--slot .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card,
  .slots-page .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card,
  .slots-page .casino-lobby--slot .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card-wrap,
  .slots-page .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card-wrap {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5;
  }
  .lobby-tabs:not(.lobby-tabs--mobile) {
    overflow: visible;
    flex: 0 0 auto;
    width: auto;
    background: transparent;
    box-shadow: none;
    gap: 10px;
    align-items: center;
  }
  .lobby-tabs:not(.lobby-tabs--mobile)::-webkit-scrollbar {
    display: none;
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab {
    flex: 0 0 auto;
    min-width: 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border-bottom: none;
    border-radius: 0;
    background: transparent;
    color: #f6d54a;
    min-height: 0;
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab:nth-child(n+3) {
    display: none;
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab .lobby-tab-label {
    display: none;
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab .lobby-tab-icon {
    width: 25px;
    height: 25px;
    opacity: 1;
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab .lobby-tab-icon svg,
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab .lobby-tab-icon img {
    display: block;
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab .lobby-tab-icon {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab:nth-child(2) .lobby-tab-icon {
    background-image: url("../images/icon/playlist.png");
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab:nth-child(1) .lobby-tab-icon img,
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab:nth-child(2) .lobby-tab-icon img {
    filter: brightness(0) saturate(100%) invert(84%) sepia(53%) saturate(691%) hue-rotate(359deg) brightness(102%) contrast(93%);
  }
  .lobby-tabs:not(.lobby-tabs--mobile) .lobby-tab.is-active {
    background: transparent;
    color: #f6d54a;
    border-bottom: none;
  }
  .lobby-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .lobby-provider {
    height: 40px;
  }
  .lobby-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ----- Cocks lobby ----- */
.cocks-lobby {
  margin-top: var(--lobby-offset-top);
  padding-bottom: var(--lobby-offset-bottom);
}

.cocks-lobby-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.cocks-lobby-providers {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #1f2024 0%, #1b1c1f 100%);
}

.cocks-lobby-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.cocks-lobby-provider:last-child {
  border-bottom: none;
}

.cocks-lobby-provider input {
  display: none;
}

.cocks-lobby-provider-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.cocks-lobby-provider-logo {
  width: 30px;
  height: 18px;
  object-fit: contain;
}

.cocks-lobby-provider-check {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.cocks-lobby-provider.is-active {
  background: rgba(255, 255, 255, 0.03);
}

.cocks-lobby-provider.is-active .cocks-lobby-provider-name {
  color: #fff;
}

.cocks-lobby-provider.is-active .cocks-lobby-provider-check::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cocks-lobby-cards {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: var(--lobby-grid-gap);
  flex: 1;
  min-width: 0;
  width: 100%;
}

.cocks-lobby-card {
  width: 100%;
  height: auto;
  aspect-ratio: 140 / 180;
  border-radius: 12px;
  border: 1px solid #f9d94e;
  overflow: hidden;
  position: relative;
  display: block;
  padding: 0;
}

.cocks-lobby-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cocks-lobby-card-logo {
  width: 80%;
  height: auto;
  max-height: 30px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}

.cocks-lobby-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cocks-lobby-card-overlay--purple {
  background: radial-gradient(circle at 30% 35%, #b95bff 0%, #5a1f92 40%, #1b1632 100%);
}

.cocks-lobby-card-overlay--red {
  background: radial-gradient(circle at 40% 30%, #ff6a4a 0%, #7e1010 45%, #231316 100%);
}

.cocks-lobby-card-overlay--orange {
  background: radial-gradient(circle at 65% 20%, #ffc46a 0%, #a6560c 50%, #21170f 100%);
}

.cocks-lobby-card-hot {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  z-index: 3;
}

@media (max-width: 900px) {
  .cocks-lobby-layout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .cocks-lobby-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .cocks-lobby-card {
    width: 100%;
    height: auto;
    aspect-ratio: 140 / 180;
  }
}

/* ---- Lucky Widget ---- */
.lucky {
  position: fixed;
  bottom: 100px;
  left: 16px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bigwin-in 0.4s ease;
}
.lucky.is-hidden { display: none; }
.lucky-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  cursor: pointer;
}
.lucky-close {
  position: absolute;
  top: 0;
  right: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.lucky-close img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .lucky {
    display: none !important;
  }
}

/* ---- Big Win Notification ---- */
.bigwin {
  position: fixed;
  bottom: 100px;
  right: 16px;
  z-index: 8000;
  /* Compact size like original design (not full bg.png 402px) */
  width: 300px;
  border-radius: 50px;
  background: url('../images/bigwin/bg.png') center no-repeat;
  background-size: 100% 100%;
  padding: 3px;
  box-sizing: border-box;
  animation: bigwin-in 0.4s ease;
}
@keyframes bigwin-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bigwin.is-hidden { display: none; }
.bigwin-close {
  position: absolute;
  top: 7px;
  right: 0px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}
.bigwin-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 36px 30px 38px;
  box-sizing: border-box;
}
.bigwin-inner[hidden] {
  display: none !important;
}
.bigwin-inner.is-active {
  animation: bigwin-in 0.35s ease;
}
@media (max-width: 768px) {
  .bigwin {
    display: none !important;
  }
}
.bigwin-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(249, 217, 78, 0.4);
  background: rgba(0, 0, 0, 0.55);
  padding: 4px;
  box-sizing: border-box;
}
.bigwin-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bigwin-id {
  font-size: 0.75rem;
  color: #fff;
  margin: 0;
  font-weight: 500;
}
.bigwin-win {
  font-size: 0.78rem;
  color: #F9D94E;
  margin: 0;
  font-weight: 700;
}
.bigwin-amount {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.35);
  border-radius: 20px;
  padding: 2px 10px 2px 4px;
  margin-top: 2px;
}
.bigwin-coin {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.bigwin-amount span {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
}

/* ---- Popup Banner Modal (old position: modal+checkbox, close below) ---- */
.popup-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9100;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.popup-overlay.is-closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition-duration: 0.2s;
}
.popup-overlay .popup-modal,
.popup-overlay > .popup-close {
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  will-change: transform, opacity;
  transition:
    opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.popup-overlay.is-open .popup-modal,
.popup-overlay.is-open > .popup-close {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.popup-overlay.is-closing .popup-modal,
.popup-overlay.is-closing > .popup-close {
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition-duration: 0.2s;
  transition-timing-function: ease;
}
.popup-modal {
  width: 100%;
  max-width: 365px;
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 992px) {
  .popup-modal { max-width: 400px; }
}
.popup-banner-img {
  width: 100%;
  max-width: 400px;
  display: block;
  object-fit: cover;
}

.popup-info {
  width: 100%;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #F9D94E;
}
.popup-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.popup-slider-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}
.popup-slide {
  min-width: 100%;
  flex-shrink: 0;
}
.popup-slider-btn {
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  background: #F9D94E;
  border: none;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  cursor: pointer;
  z-index: 3;
  transition: background 0.15s;
}
.popup-slider-btn:hover { background: #f0c14b; }
.popup-slider-prev { left: 6px; }
.popup-slider-next { right: 6px; }
.popup-slider-dots { display: none; }
.popup-videos {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.popup-video-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 5px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  background: rgba(0,0,0,0.55);
  transition: background 0.12s;
}
.popup-video-item + .popup-video-item {
  border-left: 1px solid rgba(255,255,255,0.12);
}
.popup-video-item--active {
  background: #C68308;
  color: #fff;
  font-weight: 600;
}
.popup-video-icon { flex-shrink: 0; }
.popup-no-show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  user-select: none;
}
.popup-no-show input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #F9D94E;
  cursor: pointer;
  flex-shrink: 0;
}
/* Default close (other UI). Promo/announcement use the ring style below. */
.popup-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.popup-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .popup-overlay,
  .popup-overlay .popup-modal,
  .popup-overlay > .popup-close {
    transition: none !important;
  }
}

/* ---- Language / Currency Modal ---- */
.lang-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.72);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lang-overlay.is-open {
  display: flex;
}
.lang-modal {
  background: #000000;
  border: 1px solid #F9D94E;
  border-radius: 12px;
  width: 100%;
  max-width: 360px;
  color: #fff;
  overflow: hidden;
}
@media (min-width: 992px) {
  .lang-modal { max-width: 680px; }
}
.lang-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.lang-modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.lang-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s;
  flex-shrink: 0;
}
.lang-close:hover { color: #fff; }
.lang-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
}
.lang-notice-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e53935;
  margin-top: 2px;
}
.lang-notice p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}
.lang-notice p strong {
  color: #fff;
}
.lang-modal-body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 0 20px 16px;
}
.lang-tabs {
  flex: 1;
  min-width: 0;
  padding: 0;
  gap: 9px;
  display: flex;
  flex-flow: column;
}
.lang-tab-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #322b10;
  overflow: hidden;
}
.lang-tab {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.85rem;
  padding: 10px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s;
}
.lang-tab:hover,
.lang-tab.is-active {
  color: #f9d94e;
}
.lang-tab-group .lang-tab {
  position: relative;
}
.lang-tab-group .lang-tab + .lang-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.lang-currency-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.lang-currency-list::-webkit-scrollbar { width: 4px; }
.lang-currency-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.lang-currency-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  width: 110px;
  box-sizing: border-box;
  background: #1e1e1e;
  border-radius: 10px;
  margin: 0;
}
.lang-currency-item:hover { background: #2a2a2a; }
.lang-currency-item.is-active {
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
}
.lang-currency-item.is-active .lang-currency-code {
  color: #000;
  font-weight: 600;
}
.lang-currency-badge {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-currency-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lang-currency-code {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
}

/* ---- Profile modal popup (logged-in) – centered dialog over backdrop ---- */
.profile-drawer {
  position: fixed;
  inset: 0;
  z-index: 14000;
  pointer-events: none;
  font-family: var(--font-sans);
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--content-padding);
  box-sizing: border-box;
}
.profile-drawer[hidden] {
  display: none !important;
}
.profile-drawer:not([hidden]) {
  display: flex;
  pointer-events: auto;
}
.profile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-drawer.is-open .profile-drawer__backdrop {
  opacity: 1;
}
.profile-drawer__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max);
  max-height: 100%;
  margin: auto;
  background: none;
  border: none;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  transform: scale(0.96) translateY(12px);
  opacity: 0;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.22s ease;
}
.profile-drawer.is-open .profile-drawer__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.profile-drawer__head {
  flex-shrink: 0;
  display: none;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 18px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.profile-drawer__head-icon {
  filter: brightness(0) saturate(100%) invert(72%) sepia(31%) saturate(638%) hue-rotate(5deg) brightness(95%) contrast(92%);
}
.profile-drawer__title {
  flex: 1;
  margin: 0;
  font-size: var(--text-19);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.01em;
}
.profile-drawer__close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: -6px -8px -6px 0;
}
.profile-drawer__close:hover {
  color: var(--color-accent);
}
.profile-drawer__back-mobile {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.profile-drawer__back-mobile img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}
.profile-drawer__body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 15px 0;
  -webkit-overflow-scrolling: touch;
}
.profile-drawer__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.profile-drawer__empty {
  min-width: 0;
  min-height: 120px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-bg-card) 55%, transparent);
}
.profile-drawer__empty--active {
  background: transparent;
  min-height: 0;
  align-self: stretch;
}
.profile-drawer__wallet-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 10px;
  border-radius: 12px;
  background: #1e1e1e;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.profile-drawer__wallet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
}
.profile-drawer__wallet-top-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.profile-drawer__wallet-top-gear {
  flex-shrink: 0;
}
.profile-drawer__wallet-top-gear-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}
.profile-drawer__wallet-screen-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.profile-drawer__wallet-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
  max-width: 100%;
}
.profile-drawer__wallet-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.profile-drawer__wallet-pill-btn:hover {
  background: #353535;
  color: #fff;
}
.profile-drawer__wallet-pill-ico {
  display: flex;
  color: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
}
.profile-drawer__wallet-pill-ico-img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  pointer-events: none;
}
.profile-drawer__wallet-pill-label {
  letter-spacing: 0.01em;
}
.profile-drawer__wallet-refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #2a2a2a;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.profile-drawer__wallet-refresh-btn:hover {
  background: #383838;
  color: #f9d94e;
}
.profile-drawer__wallet-refresh-ico {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
}
.profile-drawer__wallet-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
}
.profile-drawer__wallet-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f9d94e;
}
.profile-drawer__wallet-control {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  padding: 10px;
  box-sizing: border-box;
  background: #000000;
  border-radius: 10px;
}
.profile-drawer__wallet-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .profile-drawer__wallet-tabs {
    width: 50%;
    max-width: 50%;
  }
  .profile-drawer__wallet-control {
    background: #121212;
  }
}
.profile-drawer__wallet-tabs-primary {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  background: #1e1e1e;
  border-radius: 10px;
}
.profile-drawer__wallet-tabs-control {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  box-sizing: border-box;
  background: #1e1e1e;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-drawer__wallet-funding-tab {
  flex: 1 0 0;
  margin: 0;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.2;
  color: #d4d4d4;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.profile-drawer__wallet-funding-tab:hover {
  color: #f5f5f5;
}
.profile-drawer__wallet-funding-tab--active {
  font-weight: 600;
  color: #fff;
  background: #3f3f3f;
}
.profile-drawer__wallet-tab {
  flex: 1 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  margin: 5px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  color: #e5e5e5;
  background: rgb(30 30 30);
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  text-decoration: none;
}
.profile-drawer__wallet-tab--active {
  font-weight: 700;
  color: #171717;
  border-color: #f9d94e;
  background: var(--Main-Linear-color, linear-gradient(180deg, #f9d94e 0%, #c68308 100%));
}
.profile-drawer__wallet-tab:not(.profile-drawer__wallet-tab--active):hover {
  color: #fafafa;
  background: rgba(255, 255, 255, 0.12);
}
.profile-drawer__wallet-tab-deposit-ico {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  background: #fef3c7;
  flex-shrink: 0;
  box-sizing: border-box;
}
.profile-drawer__wallet-tab-deposit-dollar {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
}
.profile-drawer__wallet-tab-deposit-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.profile-drawer__wallet-tab-deposit-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #0a0a0a;
  flex-shrink: 0;
}
.profile-drawer__wallet-tab-ico-wd-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
}
.profile-drawer__wallet-tab--active .profile-drawer__wallet-tab-ico-wd-img {
  filter: brightness(0.32);
}
.profile-drawer__wallet-tab:not(.profile-drawer__wallet-tab--active) .profile-drawer__wallet-tab-deposit-ico {
  opacity: 0.75;
}
.profile-drawer__wallet-body {
  padding: 14px 0 18px;
  background: transparent;
  border-radius: 0 0 10px 10px;
}
.profile-drawer__wallet-body:not(.profile-drawer__wallet-body--withdraw) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}
.profile-drawer__wallet-body[data-wallet-view="deposit"][hidden],
.profile-drawer__wallet-body.profile-drawer__wallet-body--withdraw[hidden] {
  display: none !important;
}
.profile-drawer__wallet-control:has(.profile-drawer__wallet-tab[data-wallet-tab="withdraw"].profile-drawer__wallet-tab--active) > .profile-drawer__wallet-body[data-wallet-view="deposit"] {
  display: none !important;
}
.profile-drawer__wallet-control:has(.profile-drawer__wallet-tab[data-wallet-tab="deposit"].profile-drawer__wallet-tab--active) > .profile-drawer__wallet-body.profile-drawer__wallet-body--withdraw {
  display: none !important;
}
.profile-drawer__wallet-body-col--main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.profile-drawer__wallet-body-col--aside {
  min-width: 0;
  min-height: 1px;
}
.profile-drawer__wallet-section {
  padding: 12px 10px 10px;
  border: 1px solid rgba(234, 197, 74, 0.42);
  border-radius: 12px;
  background: #141414;
}
.profile-drawer__wallet-section-title {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
}
.profile-drawer__wallet-body-col--main > .profile-drawer__wallet-tabs-control {
  width: 100%;
  box-sizing: border-box;
}
.profile-drawer__wallet-section-muted {
  font-weight: 500;
  color: #ffffff;
}
.profile-drawer__wallet-methods {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  vertical-align: top;
}
.profile-drawer__wallet-method {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  min-height: 0;
  border-radius: 12px;
  border: none;
  padding: 0;
  overflow: hidden;
  font-family: inherit;
  cursor: pointer;
  background: #262626;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.profile-drawer__wallet-method::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, #f7d64c 12%, #c68308 92%);
  opacity: 0;
  transition: opacity 0.14s ease;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.profile-drawer__wallet-method--selected {
  background: #0b3d73;
  box-shadow: 0 0 0 1px rgba(15, 130, 218, 0.25) inset;
}
.profile-drawer__wallet-method--selected::before {
  opacity: 1;
}
.profile-drawer__wallet-method:hover {
  filter: brightness(1.06);
  transform: scale(1.02);
}
.profile-drawer__wallet-method-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.profile-drawer__wallet-accounts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-drawer__wallet-account-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.profile-drawer__wallet-account-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #2a2a2a;
  font-size: 14px;
  color: #e5e5e5;
}
.profile-drawer__wallet-copy-btn {
  flex-shrink: 0;
  align-self: center;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: #2a2a2a;
  border: 1px solid #404040;
  color: #d4d4d4;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.profile-drawer__wallet-copy-btn:hover {
  background: #333;
  color: #fff;
}
.profile-drawer__wallet-amt-label {
  font-size: 13px;
  font-weight: 500;
  color: #a3a3a3;
  margin: 0;
}
.profile-drawer__wallet-input-wrap {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  border: 1px solid #333;
  background: #2a2a2a;
  overflow: hidden;
}
.profile-drawer__wallet-input-prefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 14px 12px 14px 14px;
  color: #a3a3a3;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.profile-drawer__wallet-input-wrap--filled .profile-drawer__wallet-input-prefix {
  color: #ffffff;
}
.profile-drawer__wallet-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.profile-drawer__wallet-input::placeholder {
  color: #737373;
}
.profile-drawer__wallet-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.profile-drawer__wallet-amt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 56px;
  padding: 14px 10px;
  border-radius: 14px;
  border: none;
  background: #1c1c1c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.1;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}
.profile-drawer__wallet-amt:hover {
  background: #242424;
  filter: brightness(1.06);
}
.profile-drawer__wallet-amt-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 5px 8px 5px 7px;
  border: 1px solid #e8c547;
  border-radius: 0 14px 0 10px;
  font-size: 9px;
  font-weight: 700;
  color: #f5d547;
  background: #1c1c1c;
  line-height: 1;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  display: none;
}
.profile-drawer__wallet-body-col--main.profile-drawer__wallet-body-col--method-selected .profile-drawer__wallet-amt-badge {
  display: inline-block;
}
@media (max-width: 768px) {
  .page--deposit .profile-drawer__wallet-accounts {
    display: none;
  }
  .profile-drawer__wallet-body-col--main.profile-drawer__wallet-body-col--method-selected .profile-drawer__wallet-accounts {
    display: flex;
  }
  .profile-drawer__wallet-amt {
    min-height: auto;
    padding: 16px 10px;
    font-size: 0.8rem;
  }
  .profile-drawer__wallet-amt-badge {
    font-size: 0.6rem;
    padding: 2px 4px 2px 4px;
  }
}
.profile-drawer__wallet-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin: 0;
}
.profile-drawer__wallet-promo-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.profile-drawer__wallet-promo-text {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.profile-drawer__wallet-promo-switch {
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #4a4a4a;
  position: relative;
  transition: background-color 0.2s ease;
  pointer-events: none;
}
.profile-drawer__wallet-promo-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f3f4f6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.profile-drawer__wallet-promo-check:checked + .profile-drawer__wallet-promo-switch {
  background: #00CA07;
}
.profile-drawer__wallet-promo-check:checked + .profile-drawer__wallet-promo-switch::after {
  transform: translateX(20px);
}
.profile-drawer__wallet-promo-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #333;
  background: #242424;
  cursor: pointer;
  box-sizing: border-box;
  font-family: inherit;
}
@media (max-width: 768px) {
  .profile-drawer__wallet-body-col--main .profile-drawer__wallet-promo-option {
    display: none;
  }
  .profile-drawer__wallet-body-col--main.profile-drawer__wallet-body-col--method-selected .profile-drawer__wallet-promo-option {
    display: flex;
  }
}
.profile-drawer__wallet-promo-option-check {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #8a8a8a;
  background: transparent;
  flex: 0 0 auto;
  box-sizing: border-box;
  margin: 0;
  display: inline-grid;
  place-content: center;
  pointer-events: none;
}
.profile-drawer__wallet-promo-option-check::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 0.14s ease;
}
.profile-drawer__wallet-promo-option-check:checked {
  background: #f0d34d;
  border-color: #f0d34d;
}
.profile-drawer__wallet-promo-option-check:checked::after {
  transform: rotate(-45deg) scale(1);
}
.profile-drawer__wallet-promo-option-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  color: #b5b5b5;
  font-size: 12px;
  font-weight: 500;
}
.profile-drawer__wallet-promo-option-arrow {
  width: 11px;
  height: 11px;
  border-top: 2px solid #bfbfbf;
  border-right: 2px solid #bfbfbf;
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-right: 2px;
}
.profile-drawer__wallet-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-drawer__wallet-body-col--main .profile-drawer__wallet-upload {
  display: none;
}
.profile-drawer__wallet-body-col--main.profile-drawer__wallet-body-col--method-selected .profile-drawer__wallet-upload {
  display: flex;
}
.profile-drawer__wallet-upload-label {
  font-size: 13px;
  font-weight: 500;
  color: #e5e5e5;
  margin: 0;
}
.profile-drawer__wallet-req {
  color: #ef4444;
  font-weight: 700;
}
.profile-drawer__wallet-file {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #333;
  background: #2a2a2a;
}
.profile-drawer__wallet-file-name {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 13px;
  color: #a3a3a3;
  border-right: 1px solid #333;
}
.profile-drawer__wallet-file-btn {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #3a3a3a;
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin: 0;
}
.profile-drawer__wallet-file-btn:hover {
  background: #454545;
}
.profile-drawer__wallet-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}
.profile-drawer__wallet-submit {
  width: 100%;
  padding: 15px 16px;
  border: none;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  color: #0a0a0a;
  background: #f9d94e;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.22);
}
.profile-drawer__wallet-submit:hover {
  filter: brightness(1.05);
}
.with-usd-alert-popup {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.with-usd-alert-popup[hidden] {
  display: none !important;
}
.with-usd-alert-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(2px);
}
.with-usd-alert-popup__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  padding: 32px 28px 24px;
  text-align: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #101010 100%);
  border: 1px solid rgba(249, 217, 78, 0.65);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: withUsdPopupIn 0.25s ease-out;
}
@keyframes withUsdPopupIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.with-usd-alert-popup__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #f9d94e;
}
.with-usd-alert-popup__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}
.with-usd-alert-popup__message {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: #f2f2f2;
}
.with-usd-alert-popup__ok {
  min-width: 140px;
  padding: 11px 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f9d94e 0%, #e8b923 100%);
  color: #111;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.with-usd-alert-popup__ok:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 217, 78, 0.35);
}
body.with-usd-alert-popup-open {
  overflow: hidden;
}
.with-usd-alert-popup--notice .with-usd-alert-popup__icon {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.35);
}
.with-usd-alert-popup--error .with-usd-alert-popup__icon {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  box-shadow: 0 8px 20px rgba(248, 113, 113, 0.35);
}
.with-usd-alert-popup--success .with-usd-alert-popup__icon {
  background: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}
.with-usd-alert-popup__title:empty,
.with-usd-alert-popup__title[style*="display: none"] {
  display: none !important;
  margin: 0;
}
.profile-drawer__notice-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100006;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.profile-drawer__notice-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.profile-drawer__notice-popup {
  width: min(100%, 430px);
  max-height: min(88vh, 760px);
  background: #000;
  border: 1px solid #f9d94e;
  border-radius: 16px;
  color: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.profile-drawer__notice-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
}
.profile-drawer__notice-popup-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .profile-drawer__notice-popup-title {
    font-size: 12px;
  }
}
.profile-drawer__notice-popup-close {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.profile-drawer__notice-popup-body {
  padding: 0 16px;
  overflow: auto;
}
.profile-drawer__notice-popup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 2px auto 8px;
  border-radius: 50%;
  background: #ef4444;
  color: #0b0b0b;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.profile-drawer__notice-popup-subtitle {
  margin: 0 0 10px;
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .profile-drawer__notice-popup-subtitle {
    font-size: 12px;
  }
}
.profile-drawer__notice-popup-list {
  margin: 0;
  padding-left: 20px;
}
.profile-drawer__notice-popup-list li {
  font-size: 12px;
  line-height: 1.35;
  color: #f3f4f6;
  margin: 0 0 4px;
}
.profile-drawer__notice-popup-alert {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #f3f4f6;
}
.profile-drawer__notice-popup-alert span {
  color: #ef4444;
  font-weight: 700;
}
.profile-drawer__notice-popup-ok {
  margin: 14px 16px 16px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #efd34d;
  color: #0b0b0b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* Bank bind (bank_account.html) */
.page--bank-account .profile-drawer__wallet-control--bank-bind {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
}
.page--bank-account .profile-drawer__bank-bind {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 0 16px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.bank-account-mobile {
  display: none;
}
.page--bank-account .profile-drawer__bank-bind-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.page--bank-account .profile-drawer__wallet-control--bank-bind > .profile-drawer__bank-bind-title {
  margin: 0 0 14px;
  flex-shrink: 0;
}
.page--bank-account .profile-drawer__bank-bind-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 50%;
}
.page--bank-account .profile-drawer__bank-bind-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page--bank-account .profile-drawer__bank-bind-label {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}
.page--bank-account .profile-drawer__bank-bind-req {
  color: #ef4444;
  font-weight: 700;
}
.page--bank-account .profile-drawer__bank-bind-select-wrap {
  position: relative;
}
.page--bank-account .profile-drawer__bank-bind-select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 36px 12px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1a;
  color: #e5e5e5;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.page--bank-account .profile-drawer__bank-bind-select-wrap--enhanced .profile-drawer__bank-bind-select {
  display: none;
}
.page--bank-account .profile-drawer__bank-bind-select-trigger {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1a;
  color: #e5e5e5;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}
.page--bank-account .profile-drawer__bank-bind-select-trigger:focus {
  outline: none;
  border-color: #e8c547;
  box-shadow: 0 0 0 2px rgba(249, 217, 78, 0.2);
}
.page--bank-account .profile-drawer__bank-bind-select-trigger-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page--bank-account .profile-drawer__bank-bind-select-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.page--bank-account .profile-drawer__bank-bind-select-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.page--bank-account .profile-drawer__bank-bind-select-icon--empty {
  width: 0;
  height: 0;
  margin: 0;
}
.page--bank-account .profile-drawer__bank-bind-select-dropdown {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: #1a1a1f;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.page--bank-account .profile-drawer__bank-bind-select-options {
  max-height: 260px;
  overflow: auto;
}
.page--bank-account .profile-drawer__bank-bind-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.page--bank-account .profile-drawer__bank-bind-select-option:hover {
  background: rgba(255, 255, 255, 0.07);
}
.page--bank-account .profile-drawer__bank-bind-select-option[aria-selected="true"] {
  background: rgba(249, 217, 78, 0.12);
}
.page--bank-account .profile-drawer__bank-bind-select-option-label {
  font-size: 14px;
  line-height: 1.3;
}
.page--bank-account .profile-drawer__bank-bind-select:focus {
  outline: none;
  border-color: #e8c547;
  box-shadow: 0 0 0 2px rgba(249, 217, 78, 0.2);
}
.page--bank-account .profile-drawer__bank-bind-select-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.85;
  transition: transform 0.2s ease, margin-top 0.2s ease;
}
.page--bank-account .profile-drawer__bank-bind-select-wrap.is-open .profile-drawer__bank-bind-select-chev {
  transform: rotate(225deg);
  margin-top: -2px;
}
.page--bank-account .profile-drawer__bank-bind-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
}
.page--bank-account .profile-drawer__bank-bind-input::placeholder {
  color: #737373;
}
.page--bank-account .profile-drawer__bank-bind-input:focus {
  outline: none;
  border-color: #e8c547;
}
.page--bank-account .profile-drawer__bank-bind-file {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1a;
}
.page--bank-account .profile-drawer__bank-bind-file-name {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 13px;
  color: #a3a3a3;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.page--bank-account .profile-drawer__bank-bind-file-btn {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #2e2e2e;
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin: 0;
}
.page--bank-account .profile-drawer__bank-bind-file-btn:hover {
  background: #3a3a3a;
}
.page--bank-account .profile-drawer__bank-bind-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}
.page--bank-account .profile-drawer__bank-bind-submit {
  width: 100%;
  max-width: 50%;
  margin-top: 4px;
  padding: 15px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  color: #0a0a0a;
  border: 1px solid #f9d94e;
  background: var(--Main-Linear-color, linear-gradient(180deg, #f9d94e 0%, #c68308 100%));
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.22);
}
.page--bank-account .profile-drawer__bank-bind-submit:hover {
  filter: brightness(1.05);
}

.profile-drawer__wallet-panel > #profile-drawer-wallet-shell:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.page--deposit .main {
  background: #000000;
  flex: 1 1 auto;
  padding-top: 0;
}
.page--deposit .deposit-main-profile-drawer-mount .profile-drawer__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  transform: none;
  opacity: 1;
  transition: none;
}
.page--deposit .deposit-main-profile-drawer-mount .profile-drawer__close {
  display: none;
}
.page--member-center .main {
  min-height: calc(100vh - var(--header-height, 0px));
  background: #000;
}
.page--member-center .container {
  width: 100%;
  max-width: 1370px;
  margin: 0 auto;
  padding: 15px 0 48px;
  box-sizing: border-box;
}
.page--member-center .deposit-main-profile-drawer-mount {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
.page--member-center .deposit-main-profile-drawer-mount .profile-drawer__panel {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border-radius: 18px;
  overflow: visible;
}
.page--member-center .deposit-main-profile-drawer-mount .profile-drawer__head {
  display: none;
}
.page--member-center .deposit-main-profile-drawer-mount .profile-drawer__back-mobile {
  display: flex;
}
.page--member-center .deposit-main-profile-drawer-mount .profile-drawer__close {
  display: none;
}
.page--member-center .deposit-main-profile-drawer-mount .profile-drawer__body {
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-md);
  padding: 0;
  overflow: visible;
}
.page--member-center .profile-drawer__side {
  width: 100%;
}
.page--member-center .member-center-detail {
  min-width: 0;
  min-height: 0;
  align-self: stretch;
}
.page--member-center .member-center-detail__panel {
  height: auto;
  min-height: 0;
  padding: 22px;
  color: #fff;
  overflow: visible;
}
.member-center-detail__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.member-center-detail__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #111;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
}
.member-center-detail__intro {
  min-width: 180px;
}
.member-center-detail__eyebrow {
  margin: 0 0 4px;
  color: #f9d94e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.member-center-detail__title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  word-break: normal;
  overflow-wrap: anywhere;
}
.member-center-detail__subtitle {
  margin: 6px 0 0;
  color: #b8b8b8;
  font-size: 13px;
}
.member-center-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.member-center-detail__item {
  min-width: 0;
  padding: 14px;
  border-radius: 12px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.member-center-detail__label {
  display: block;
  margin-bottom: 8px;
  color: #8f8f8f;
  font-size: 12px;
  font-weight: 600;
}
.member-center-detail__value {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.member-center-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.member-center-detail__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.member-center-detail__action:hover {
  color: #f9d94e;
}
.member-center-detail__action--primary {
  color: #111;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  border-color: transparent;
}
.member-center-detail__action--primary:hover {
  color: #111;
  filter: brightness(1.05);
}
.page--member-center .profile-drawer__referral-title {
  white-space: normal;
  line-height: 1.25;
}
@media (max-width: 900px) {
  .page--member-center .deposit-main-profile-drawer-mount .profile-drawer__body {
    display: block;
  }
  .page--member-center .member-center-detail {
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  .page--member-center .container {
    padding: 10px 15px 28px;
  }
  .page--member-center .member-center-detail {
    margin-top: 12px;
    padding: 16px;
  }
  .member-center-detail__grid {
    grid-template-columns: 1fr;
  }
  .member-center-detail__title {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .page--withdrawal-dualkey .deposit-main-profile-drawer-mount .profile-drawer__side {
    position: relative;
    z-index: 2;
    pointer-events: auto;
  }
  .page--withdrawal-dualkey .deposit-main-profile-drawer-mount .profile-drawer__side a,
  .page--withdrawal-dualkey .deposit-main-profile-drawer-mount .profile-drawer__side button {
    pointer-events: auto;
  }
  .page--withdrawal-dualkey .profile-drawer__amb-viewport {
    display: none !important;
  }
  .page--withdrawal .profile-drawer__amb-viewport {
    display: none !important;
  }
  .page--history-bet .profile-drawer__amb-viewport {
    display: none !important;
  }
  .page--deposit-page > .header,
  .page--withdrawal > .header,
  .page--turnover > .header {
    display: none !important;
  }
  body:has(.page--deposit-page),
  body:has(.page--withdrawal),
  body:has(.page--turnover) {
    padding-top: 0;
  }
  .page--deposit-page,
  .page--turnover,
  .page--withdrawal {
    min-height: 100vh;
  }
}
.page--turnover {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
}
.page--turnover .main {
  flex: 1;
  display: block;
  min-height: 0;
}
.page--turnover .deposit-main-profile-drawer-mount {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.page--turnover .deposit-main-profile-drawer-mount .profile-drawer__panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transform: none;
  opacity: 1;
  transition: none;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider {
  position: relative;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select--custom {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 40px 10px 12px;
  margin: 0;
  border: 1px solid #e8c547;
  border-radius: 8px;
  background: #0a0a0a;
  color: #a3a3a3;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select--custom:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(249, 217, 78, 0.25);
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-custom-display {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-custom-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #a3a3a3;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider.has-value .profile-drawer__history-select-custom-text {
  color: #fff;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-chev {
  position: absolute;
  right: 16px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-top: 0;
  border: none;
  transform: translateY(-50%);
  transition: transform 0.15s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-chev-img {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider.is-open .profile-drawer__history-select-chev {
  transform: translateY(-50%) rotate(180deg);
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-provider-dropdown {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(70vh, 720px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-provider-dropdown[hidden] {
  display: none !important;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-provider-dropdown::-webkit-scrollbar {
  width: 6px;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-provider-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-selectall {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-selectall:focus {
  outline: none;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-selectall .profile-drawer__history-select-status {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-selectall.is-selected .profile-drawer__history-select-status {
  background: #22c55e;
  border-color: #22c55e;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-selectall.is-selected .profile-drawer__history-select-status::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-group-row {
  background: linear-gradient(180deg, #2a2a2d 0%, #202023 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding-top: 0;
  padding-bottom: 0;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-group-row .profile-drawer__turnover-cat-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #efefef;
  display: flex;
  align-items: center;
  min-height: 40px;
  line-height: 1;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-group-row .profile-drawer__turnover-cat-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 40px;
  margin-left: auto;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-group-row .profile-drawer__history-select-status {
  flex-shrink: 0;
  margin-left: 0;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-group-row .profile-drawer__turnover-cat-total {
  flex: 0 0 auto;
  margin-left: 0;
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-align: right;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1;
  white-space: nowrap;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-group-row .profile-drawer__turnover-cat-total ~ .profile-drawer__history-select-status {
  margin-left: 0;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-group-title.profile-drawer__turnover-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin: 0;
  background: linear-gradient(180deg, #2a2a2d 0%, #202023 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  font-size: 12px;
  line-height: 1.2;
  color: #efefef;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-cat-total {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option--statement {
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
  padding: 8px 44px 8px 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  position: relative;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option--statement.profile-drawer__turnover-row {
  align-items: center;
  min-height: 40px;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__turnover-row-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option--statement img {
  display: block;
  width: 40px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option--statement span:last-child,
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option--statement .profile-drawer__turnover-row-name {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  align-self: center;
  min-height: 40px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option--statement::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transform: translateY(-50%);
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option--statement.is-selected::after {
  background: #22c55e;
  border-color: #22c55e;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option--statement.is-selected::before {
  content: "";
  position: absolute;
  right: 21px;
  top: 50%;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-58%) rotate(45deg);
  z-index: 1;
}
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option:hover,
.page--turnover .profile-drawer__history-select-wrap--turnover-provider .profile-drawer__history-select-option:focus {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.page--turnover .profile-drawer__turnover-title,
.page--turnover .profile-drawer__turnover-form {
  flex-shrink: 0;
}
.page--turnover .deposit-main-profile-drawer-mount .profile-drawer__body {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.page--turnover .deposit-main-profile-drawer-mount .profile-drawer__empty.profile-drawer__empty--active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.page--turnover .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel {
  flex: 1;
  min-height: 0;
  height: 100%;
}
.page--turnover .deposit-main-profile-drawer-mount .profile-drawer__wallet-control {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.page--turnover .profile-drawer__turnover-view {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 4px 0 12px;
  box-sizing: border-box;
}
.page--turnover .profile-drawer__turnover-title,
.page--turnover .profile-drawer__turnover-form {
  flex-shrink: 0;
}
.page--notifications {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
}
.page--notifications .main {
  flex: 1;
  display: block;
  min-height: 0;
}
.page--notifications .deposit-main-profile-drawer-mount {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.page--notifications .deposit-main-profile-drawer-mount .profile-drawer__panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.page--notifications .deposit-main-profile-drawer-mount .profile-drawer__body {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.page--notifications .deposit-main-profile-drawer-mount .profile-drawer__empty.profile-drawer__empty--active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.page--notifications .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel {
  flex: 1;
  min-height: 0;
  height: 100%;
}
.page--notifications .deposit-main-profile-drawer-mount .profile-drawer__wallet-control {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.page--notifications .deposit-main-profile-drawer-mount .profile-drawer__panel {
  transform: none;
  opacity: 1;
  transition: none;
}
.page--notifications .profile-drawer__member-center-list--transactions,
.page--notifications .profile-drawer__member-center-list--system {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}
.page--notifications .profile-drawer__member-center-group-title {
  margin: 0;
  color: #f3f4f6;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.page--notifications .profile-drawer__member-transaction-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}
.page--notifications .profile-drawer__member-transaction-logo {
  width: 50px;
  height: 50px;
  border-radius: 7px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0f172a;
  overflow: visible;
}
.page--notifications .profile-drawer__member-transaction-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}
.page--notifications .profile-drawer__member-transaction-logo-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page--notifications .profile-drawer__member-transaction-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.page--notifications .profile-drawer__member-transaction-content {
  flex: 1;
  min-width: 0;
}
.page--notifications .profile-drawer__member-transaction-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.page--notifications .profile-drawer__member-transaction-title {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page--notifications .profile-drawer__member-transaction-time {
  color: rgba(229, 231, 235, 0.78);
  font-size: 0.8rem;
  white-space: nowrap;
}
.page--notifications .profile-drawer__member-transaction-text {
  margin: 4px 0 0;
  color: #f3f4f6;
  font-size: 0.86rem;
  line-height: 1.25;
}
.page--notifications .profile-drawer__member-transaction-text strong {
  color: #f9d94e;
  font-weight: 800;
}
.page--notifications .profile-drawer__member-transaction-status {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}
.page--notifications .profile-drawer__member-transaction-status--ok {
  background: #22c55e;
}
.page--notifications .profile-drawer__member-transaction-status--fail {
  background: #ef4444;
}
.page--notifications .profile-drawer__member-system-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1e1e1e;
  padding: 14px 16px 12px;
}
.page--notifications .profile-drawer__member-system-time-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page--notifications .profile-drawer__member-system-time {
  color: #9ca3af;
  font-size: 0.88rem;
}
.page--notifications .profile-drawer__member-system-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f9d94e;
}
.page--notifications .profile-drawer__member-system-title {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}
.page--notifications .profile-drawer__member-system-text {
  margin: 0 0 8px;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.25;
}
.page--notifications .profile-drawer__member-system-list {
  margin: 0 0 10px;
  padding-left: 18px;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.25;
}
.page--notifications .profile-drawer__member-system-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}
.page--notifications .profile-drawer__notification-card {
  max-width: 100%;
}
.page--history-deposit {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
}
.page--history-deposit .main {
  flex: 1;
  display: block;
  flex-direction: column;
  min-height: 0;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__body {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.page--history-deposit .deposit-main-profile-drawer-mount #profile-drawer-empty.profile-drawer__empty--active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.page--security {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
}
.page--security .main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.page--security .deposit-main-profile-drawer-mount {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__body {
  flex: 1;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: visible;
  align-items: stretch;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__head {
  display: none;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__side {
  display: block;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__side > :not(#profile-drawer-empty) {
  display: none !important;
}
.page--security .deposit-main-profile-drawer-mount #profile-drawer-empty.profile-drawer__empty--active {
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  align-self: flex-start;
  background: transparent;
  min-height: 0;
  border: 0;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel[hidden] {
  display: block !important;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__security-back {
  display: none;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__security-view {
  padding: 10px;
  border-radius: 10px;
  background: #121212;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__security-summary {
  gap: 14px;
  padding: 6px 8px 12px;
}
.page--security .deposit-main-profile-drawer-mount .profile-drawer__security-list {
  width: 100%;
  max-width: none;
  background: #121212;
  border: none;
}
.page--security-center .deposit-main-profile-drawer-mount .profile-drawer__security-list,
.page--security-center .deposit-main-profile-drawer-mount .profile-drawer__security-sessions {
  width: 100%;
  max-width: none;
  margin-left: 0;
  background: #1e1e1e;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .page--security-center .deposit-main-profile-drawer-mount .profile-drawer__side {
    display: none;
  }
  .page--security-center .deposit-main-profile-drawer-mount .profile-drawer__empty.profile-drawer__empty--active {
    display: block;
  }
  .page--security-center .deposit-main-profile-drawer-mount .profile-drawer__card {
    display: none !important;
  }
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-back,
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-head-primary {
  display: none;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-head-alt {
  display: flex;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-head {
  padding: 2px 0 16px;
  gap: 0;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-view:not([hidden]) {
  padding: 0;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-tabs {
  margin-bottom: 14px;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-tab {
  border-radius: 10px;
  padding: 10px 16px;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-table-wrap {
  background: #1c1c1c;
  border: none;
  border-radius: 10px;
  margin-top: 16px;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-table thead th {
  background: #1c1c1c;
  color: #a8a8a8;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-empty {
  color: #888;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-label {
  color: #b0b0b0;
  font-size: 12px;
  font-weight: 500;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-date-wrap {
  background: #1c1c1c;
}
.page--history-deposit .deposit-main-profile-drawer-mount .profile-drawer__history-btn {
  border-radius: 10px;
}
.page--history-bet {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
}
.page--history-bet .main {
  flex: 1;
  display: block;
  min-height: 0;
  background: #0a0a0a;
  padding-top: 0;
}
.page--history-bet .profile-drawer__history-layout.profile-drawer__history-control--bet-page {
  flex: 1;
  min-height: 0;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.page--history-bet .profile-drawer__history-tab-panel {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.page--history-bet .profile-drawer__history-tabs {
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 2px;
}
.page--history-bet .profile-drawer__history-tabs a.profile-drawer__history-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.page--history-bet .profile-drawer__history-tabs button.profile-drawer__history-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  font-family: inherit;
}
.page--history-bet .profile-drawer__history-tabs .profile-drawer__history-tab--active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page--history-bet .profile-drawer__history-tab {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #2a2a2a;
  color: #e5e5e5;
  font-size: 13px;
  font-weight: 600;
}
.page--history-bet .profile-drawer__history-tab:not(.profile-drawer__history-tab--active):hover {
  border-color: #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #d4a20a 100%);
  color: #0a0a0a;
  font-weight: 700;
  filter: brightness(1.02);
}
.page--history-bet .profile-drawer__history-tab--active {
  border-color: #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #d4a20a 100%);
  color: #0a0a0a;
  font-weight: 700;
}
.page--history-bet .profile-drawer__history-tab--active:hover {
  color: #0a0a0a;
  filter: brightness(1.02);
}
.page--history-bet .profile-drawer__history-filters {
  grid-template-columns: 1fr;
  width: 100%;
  row-gap: 16px;
  margin-bottom: 4px;
}
.page--history-bet .profile-drawer__history-filters.profile-drawer__history-filters--bet {
  max-width: 50%;
}
.page--history-bet .profile-drawer__history-filters.profile-drawer__history-filters--promotion {
  max-width: 50%;
  display: none;
}
@media (max-width: 768px) {
  .page--history-bet .profile-drawer__history-filters.profile-drawer__history-filters--promotion {
    max-width: 100%;
  }
}
.page--history-bet .profile-drawer__history-content[data-history-active-tab="promotion"] .profile-drawer__history-filters.profile-drawer__history-filters--bet {
  display: none;
}
.page--history-bet .profile-drawer__history-content[data-history-active-tab="promotion"] .profile-drawer__history-filters.profile-drawer__history-filters--promotion {
  display: grid;
}
.page--history-bet .profile-drawer__history-filters--promotion .profile-drawer__history-date-wrap {
  border: none;
  border-radius: 8px;
  background: #1c1c1c;
  padding: 4px 8px 4px 14px;
}
.page--history-bet .profile-drawer__history-panel,
.page--turnover .profile-drawer__turnover-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 0;
}
.page--history-bet .profile-drawer__history-label {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.page--history-bet .profile-drawer__history-select {
  border: 1px solid #a3a3a3;
  background: #121212;
  color: #a3a3a3;
  border-radius: 8px;
  padding: 14px 40px 14px 14px;
}
.page--history-bet .profile-drawer__history-select:focus {
  color: #e5e5e5;
}
.page--history-bet .profile-drawer__history-bet-type-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.page--history-bet .profile-drawer__history-select-wrap--custom {
  position: relative;
}
.page--history-bet .profile-drawer__history-select--custom {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 40px 10px 12px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: #0a0a0a;
  color: #a3a3a3;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.page--history-bet .profile-drawer__history-select--custom:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(163, 163, 163, 0.35);
}
.page--history-bet .profile-drawer__history-select--custom:focus .profile-drawer__history-select-custom-text {
  color: #e5e5e5;
}
.page--history-bet .profile-drawer__history-select-custom-display {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.page--history-bet .profile-drawer__history-select-custom-icon:not([hidden]) {
  display: block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center;
}
.page--history-bet .profile-drawer__history-select-custom-icon[hidden] {
  display: none;
}
.page--history-bet .profile-drawer__history-select-custom-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #a3a3a3;
}
.page--history-bet .profile-drawer__history-select-wrap--custom.has-value .profile-drawer__history-select-custom-text {
  color: #fff;
}
.page--history-bet .profile-drawer__history-select-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 8px 0;
  list-style: none;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 180px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #000000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page--history-bet .profile-drawer__history-select-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
/*.page--history-bet .profile-drawer__history-select-list li {
  margin: 0;
  padding: 10px 10px;
}*/
.page--history-bet .profile-drawer__history-select-option {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 12px 18px;
  margin: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.page--history-bet .profile-drawer__history-select-option img {
  display: none;
}
.page--history-bet .profile-drawer__history-select-list--provider {
  max-height: 430px;
}
.page--history-bet .profile-drawer__history-select-option--provider {
  gap: 10px;
  padding: 10px 14px;
  font-weight: 500;
}
.page--history-bet .profile-drawer__history-select-option--provider img {
  display: block;
  width: 42px;
  height: 20px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
.page--history-bet .profile-drawer__history-select-wrap--provider-custom .profile-drawer__history-select-custom-display,
.page--history-bet .profile-drawer__history-select-wrap--statement-custom .profile-drawer__history-select-custom-display {
  gap: 0;
}
.page--history-bet .profile-drawer__history-select-wrap--provider-custom .profile-drawer__history-select-custom-icon,
.page--history-bet .profile-drawer__history-select-wrap--statement-custom .profile-drawer__history-select-custom-icon {
  display: none !important;
}
.page--history-bet .profile-drawer__history-select-custom-icon--placeholder {
  opacity: 0.45;
  filter: grayscale(1);
}
.page--history-bet .profile-drawer__history-select-wrap--provider-custom .profile-drawer__history-select--custom,
.page--history-bet .profile-drawer__history-select-wrap--statement-custom .profile-drawer__history-select--custom {
  padding-left: 14px;
}
.page--history-bet .profile-drawer__history-select-list--statement {
  max-height: 360px;
  padding: 0 0 8px;
}
.page--history-bet .profile-drawer__history-select-selectall {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 34px;
  padding: 6px 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #080808;
  color: #b9b9b9;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}
.page--history-bet .profile-drawer__history-select-selectall:focus {
  outline: none;
}
.page--history-bet .profile-drawer__history-select-selectall .profile-drawer__history-select-status {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, #19e13a 0%, #09c82a 100%);
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  position: relative;
}
.page--history-bet .profile-drawer__history-select-selectall .profile-drawer__history-select-status::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2.4px solid #fff;
  border-bottom: 2.4px solid #fff;
  transform: rotate(45deg);
}
.page--history-bet .profile-drawer__history-select-group-title {
  display: block;
  padding: 12px 14px;
  margin: 6px 0 4px;
  background: linear-gradient(180deg, #2a2a2d 0%, #202023 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  font-size: 12px;
  /*font-weight: 700;*/
  line-height: 1;
  color: #efefef;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.page--history-bet .profile-drawer__history-select-option--statement {
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
  padding: 8px 44px 8px 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  position: relative;
}
.page--history-bet .profile-drawer__history-select-option--statement img {
  display: block;
  width: 44px;
  height: 22px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
.page--history-bet .profile-drawer__history-select-option--statement span:first-child {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page--history-bet .profile-drawer__history-select-option--statement::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transform: translateY(-50%);
}
.page--history-bet .profile-drawer__history-select-option--statement[aria-selected="true"]::after,
.page--history-bet .profile-drawer__history-select-option--statement.is-selected::after {
  background: #22c55e;
  border-color: #22c55e;
}
.page--history-bet .profile-drawer__history-select-option--statement[aria-selected="true"]::before,
.page--history-bet .profile-drawer__history-select-option--statement.is-selected::before {
  content: "";
  position: absolute;
  right: 21px;
  top: 50%;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-58%) rotate(45deg);
  z-index: 1;
}
.page--history-bet .profile-drawer__history-select-option span {
  flex: 1;
  min-width: 0;
  white-space: normal;
}
.page--history-bet .profile-drawer__history-select-option:hover,
.page--history-bet .profile-drawer__history-select-option:focus {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.page--history-bet .profile-drawer__history-select-option[aria-selected="true"] {
  background: rgba(249, 217, 78, 0.12);
}
.page--history-bet .profile-drawer__history-select-wrap--custom .profile-drawer__history-select-chev {
  position: absolute;
  right: 16px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-top: 0;
  border: none;
  transform: translateY(-50%);
  transition: transform 0.15s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
}
.page--history-bet .profile-drawer__history-select-wrap--custom .profile-drawer__history-select-chev-img {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.page--history-bet .profile-drawer__history-select-wrap--custom.is-open .profile-drawer__history-select-chev {
  transform: translateY(-50%) rotate(180deg);
}
/* Type Of Betting — custom dropdown (trigger + list) */
.page--history-bet #profile-drawer-history-bet-type-wrap .profile-drawer__history-select--custom {
  position: relative;
  z-index: 1;
  min-height: 52px;
  padding: 14px 44px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: #000000;
  box-shadow: none;
  pointer-events: auto;
  cursor: pointer;
}
.page--history-bet #profile-drawer-history-bet-type-wrap.is-open .profile-drawer__history-select--custom {
  z-index: 41;
}
.page--history-bet #profile-drawer-history-bet-type-wrap .profile-drawer__history-select--custom:focus {
  box-shadow: none;
}
.page--history-bet #profile-drawer-history-bet-type-wrap .profile-drawer__history-select-custom-text {
  color: #a3a3a3;
  font-size: 14px;
  font-weight: 400;
}
.page--history-bet #profile-drawer-history-bet-type-wrap.has-value .profile-drawer__history-select-custom-text {
  color: #ffffff;
}
.page--history-bet #profile-drawer-history-bet-type-wrap .profile-drawer__history-select-chev {
  right: 16px;
}
.page--history-bet #profile-drawer-history-bet-type-list {
  top: calc(100% + 4px);
  padding: 10px 0;
  max-height: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: #000000;
  box-shadow: none;
  pointer-events: auto;
}
.page--history-bet #profile-drawer-history-bet-type-list .profile-drawer__history-select-option {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  pointer-events: auto;
  cursor: pointer;
}
.page--history-bet #profile-drawer-history-bet-type-list .profile-drawer__history-select-option:hover,
.page--history-bet #profile-drawer-history-bet-type-list .profile-drawer__history-select-option:focus {
  background: rgba(255, 255, 255, 0.06);
}
.page--history-bet #profile-drawer-history-bet-type-list .profile-drawer__history-select-option[aria-selected="true"] {
  background: transparent;
  color: #ffffff;
}
.page--history-bet .profile-drawer__history-filters--bet .profile-drawer__history-date-wrap {
  border: none;
  border-radius: 8px;
  background: #1c1c1c;
  padding: 4px 8px 4px 14px;
}
.page--history-bet .profile-drawer__history-date-input {
  color: #a3a3a3;
  font-size: 13px;
}
.page--history-bet .profile-drawer__history-cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #f9d94e;
  pointer-events: none;
}
.page--history-bet .profile-drawer__history-actions {
  margin-top: 8px;
}
.page--history-bet .profile-drawer__history-btn {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.page--history-bet .profile-drawer__history-btn--clear {
  background: transparent;
  border: 1px solid #e8c547;
  color: #fff;
}
.page--history-bet .profile-drawer__history-btn--search {
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  border: 1px solid #f9d94e;
  color: #0a0a0a;
}
.page--history-bet .profile-drawer__history-table-wrap {
  flex: 1;
  min-height: 200px;
  margin-top: 20px;
  border-radius: 12px;
  border: none;
  background: #1a1a1a;
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page--history-bet .profile-drawer__history-table {
  min-width: 100%;
  font-size: 12px;
}
.page--history-bet .profile-drawer__history-table tbody td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d4d4d4;
  vertical-align: middle;
  line-height: 1.35;
}
.page--history-bet .profile-drawer__history-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
.page--history-bet .profile-drawer__history-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}
.page--history-bet .profile-drawer__history-table-cell--amount {
  text-align: right;
  white-space: nowrap;
}
.page--history-bet .profile-drawer__history-table-cell--negative {
  color: #f87171;
}
.page--history-bet .profile-drawer__history-table-cell--positive {
  color: #4ade80;
}
.page--history-bet .profile-drawer__history-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.page--turnover .profile-drawer__history-table-wrap {
  flex: none;
  min-height: 0;
  margin-top: 20px;
  border-radius: 12px;
  border: none;
  background: #1a1a1a;
  position: relative;
}
.page--history-bet .profile-drawer__history-table thead th,
.page--turnover .profile-drawer__history-table thead th {
  background: #1a1a1a;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 8px;
}
.page--turnover .profile-drawer__history-table.turnover thead th,
.page--turnover .profile-drawer__history-table.turnover tbody td {
  text-align: center;
  vertical-align: middle;
}
.page--turnover .profile-drawer__history-table.turnover tbody td {
  padding: 10px 8px;
}
.page--history-bet .profile-drawer__history-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px;
  color: #888;
  font-size: 14px;
}
.page--turnover .profile-drawer__history-empty {
  flex: none;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 36px 16px;
  text-align: center;
  color: #888;
  font-size: 14px;
  line-height: 1.5;
}
.page--history-bet .profile-drawer__history-filters--rewards .profile-drawer__history-label {
  color: #fff;
}
.page--history-bet .profile-drawer__history-select-wrap--rewards {
  position: relative;
}
.page--history-bet .profile-drawer__history-select--rewards {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 40px 14px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.page--history-bet .profile-drawer__history-select--rewards:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.page--history-bet .profile-drawer__history-select-wrap--rewards .profile-drawer__history-select-chev--light {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.95;
}
.page--history-bet .profile-drawer__history-date-wrap--rewards {
  border: none;
  border-radius: 8px;
  background: #1c1c1c;
  padding: 4px 8px 4px 14px;
}
.page--history-bet .profile-drawer__history-date-wrap--rewards .profile-drawer__history-date-input {
  color: #a3a3a3;
  font-size: 13px;
}
.page--history-bet .profile-drawer__history-date-wrap--rewards .profile-drawer__history-cal-btn {
  color: #f9d94e;
}
.page--withdrawal {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
}
.page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__body {
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.page--withdrawal .deposit-main-profile-drawer-mount #profile-drawer-empty.profile-drawer__empty--active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel {
  background: #1e1e1e;
  border: none;
  border-radius: 12px;
  padding: 12px 10px;
  box-shadow: none;
  height: 100%;
  flex: 1;
  min-height: 0;
}
@media (max-width: 768px) {
  .deposit-main-profile-drawer-mount {
    padding-top: 10px;
  }
  .page--turnover .deposit-main-profile-drawer-mount .profile-drawer__side {
    display: none;
  }
  .page--deposit-page .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel,
  .page--turnover .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel,
  .page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel {
    background: transparent;
    padding: 10px 0;
  }
  .page--deposit-page .deposit-main-profile-drawer-mount .profile-drawer__body,
  .page--turnover .deposit-main-profile-drawer-mount .profile-drawer__body,
  .page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__body,
  .page--profile .deposit-main-profile-drawer-mount .profile-drawer__body {
    gap: 0;
  }
  .page--deposit-page .deposit-main-profile-drawer-mount .profile-drawer__card,
  .page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__card,
  .page--profile .deposit-main-profile-drawer-mount .profile-drawer__card {
    margin-bottom: 0;
  }
  .page--deposit-page .deposit-main-profile-drawer-mount .profile-drawer__wallet-control,
  .page--turnover .deposit-main-profile-drawer-mount .profile-drawer__wallet-control,
  .page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__wallet-control {
    padding-top: 0;
  }
  .page--profile .deposit-main-profile-drawer-mount .profile-drawer__vip {
    margin-top: 10px;
  }
  .page--profile .deposit-main-profile-drawer-mount .profile-drawer__empty {
    display: none;
  }
}
.page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__withdraw-layout {
  max-width: 50%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__withdraw-layout {
    max-width: none;
  }
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__wallet-control {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #121212;
  padding: 8px 4px 12px;
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-control--wd-page {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #000000;
  padding: 4px 2px 8px;
  border-radius: 0;
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-filters {
  grid-template-columns: 1fr;
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-field,
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-actions {
  grid-column: 1;
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-tab {
  border-radius: 10px;
  padding: 10px 16px;
  background: #2a2a2a;
  color: #fff;
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-tab--active {
  background: linear-gradient(180deg, #ffcc33 0%, #c68308 100%);
  color: #0a0a0a;
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-date-wrap {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 8px 6px 14px;
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-btn--clear {
  background: transparent;
  border-radius: 10px;
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-btn--search {
  border-radius: 10px;
  background: linear-gradient(180deg, #ffcc33 0%, #c68308 100%);
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-table-wrap {
  border-radius: 10px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.page--history-withdrawal .deposit-main-profile-drawer-mount .profile-drawer__history-table thead th {
  background: #2a2a2a;
}
.profile-drawer__wallet-panel > #profile-drawer-notifications-view:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 4px 2px 10px;
  box-sizing: border-box;
}
.profile-drawer__history-view:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 2px 12px;
  box-sizing: border-box;
}
.profile-drawer__history-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 14px;
  flex-shrink: 0;
}
.profile-drawer__history-control {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 0;
  background: #121212;
  padding: 10px;
  border-radius: 10px;
}
.profile-drawer__history-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  flex-shrink: 0;
}
.profile-drawer__history-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.profile-drawer__history-back-ico {
  display: block;
}
.profile-drawer__history-head-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.profile-drawer__history-head-ico {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.95;
}
.profile-drawer__history-head-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.profile-drawer__history-head-primary {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.profile-drawer__history-head-alt {
  display: none;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 10px;
}
.profile-drawer__history-breadcrumb {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.profile-drawer__history-breadcrumb-root {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.profile-drawer__history-breadcrumb-sep {
  margin: 0 8px;
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
}
.profile-drawer__history-breadcrumb-current {
  color: #fff;
  font-weight: 700;
}
.profile-drawer__history-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  margin-bottom: 12px;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  touch-action: pan-x;
}
.profile-drawer__history-tabs::-webkit-scrollbar {
  height: 4px;
}
.profile-drawer__history-tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.profile-drawer__history-tab {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: #2a2a2a;
  color: #d4d4d4;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}
.profile-drawer__history-tab:hover {
  /*background: #353535;*/
  color: #f5f5f5;
}
.profile-drawer__history-tab--active {
  background: var(--Main-Linear-color, linear-gradient(180deg, #f9d94e 0%, #c68308 100%));
  color: #0a0a0a;
  font-weight: 700;
}
.profile-drawer__history-tab--active:hover {
  filter: brightness(1.03);
  color: #0a0a0a;
}
.profile-drawer__history-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 12px;
  align-items: start;
  flex-shrink: 0;
  max-width: 50%;
  box-sizing: border-box;
}
.profile-drawer__history-filters:not([data-history-active-tab="bet"]) .profile-drawer__history-field--bet-only {
  display: none;
}
.profile-drawer__history-content:not([data-history-active-tab="bet"]) .profile-drawer__history-field--bet-only,
.profile-drawer__history-field--bet-only[hidden] {
  display: none !important;
}
#profile-drawer-history-outstanding-provider-field:not(.is-active-provider),
#profile-drawer-history-statement-provider-field:not(.is-active-provider) {
  display: none !important;
}
.profile-drawer__history-field,
.profile-drawer__history-actions {
  grid-column: 1;
}
.profile-drawer__history-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  box-sizing: border-box;
}
.profile-drawer__history-label {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}
.profile-drawer__history-select-wrap {
  position: relative;
}
.profile-drawer__history-select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 36px 12px 12px;
  border-radius: 8px;
  border: 1px solid #e8c547;
  background: #0a0a0a;
  color: #e5e5e5;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.profile-drawer__history-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(249, 217, 78, 0.25);
}
.profile-drawer__history-select-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.85;
}
.profile-drawer__history-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  border-radius: 8px;
  border: none;
  background: #1c1c1c;
  box-sizing: border-box;
  cursor: pointer;
}
.profile-drawer__history-date-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  padding: 8px 0;
}
.profile-drawer__history-date-input:focus {
  outline: none;
}
.profile-drawer__history-cal-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #f9d94e;
  cursor: pointer;
  pointer-events: auto;
}
.page--history-bet .profile-drawer__history-cal-btn {
  pointer-events: auto;
}
.profile-drawer__history-cal-btn:hover {
  background: rgba(249, 217, 78, 0.1);
}
.profile-drawer__history-cal-ico {
  display: block;
}
.profile-drawer__history-date-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  min-width: 300px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(249, 217, 78, 0.35);
  border-radius: 12px;
  background: #0a0a0a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.profile-drawer__history-date-calendar {
  display: none;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(249, 217, 78, 0.2);
  border-radius: 10px;
  background: #111;
}
.profile-drawer__history-date-calendar.is-open {
  display: grid;
}
.profile-drawer__history-date-calendar-popup {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  pointer-events: none;
}
.profile-drawer__history-date-calendar-popup.is-open {
  display: block;
}
.profile-drawer__history-date-calendar-popup-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  pointer-events: auto;
}
.profile-drawer__history-date-calendar-popup-panel {
  position: fixed;
  z-index: 1;
  pointer-events: auto;
}
.profile-drawer__history-date-calendar-popup-panel .profile-drawer__history-date-calendar {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(249, 217, 78, 0.4);
  border-radius: 12px;
  background: #0a0a0a;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65);
}
.profile-drawer__history-date-calendar-popup-panel .profile-drawer__history-date-cal-day {
  font-size: 13px;
}
.profile-drawer__history-date-cal-confirm {
  width: 100%;
  margin-top: 4px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 12px;
  cursor: pointer;
}
.profile-drawer__history-date-cal-confirm:hover {
  filter: brightness(1.03);
}
.profile-drawer__history-date-popover-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.profile-drawer__history-date-popover-input-wrap .profile-drawer__history-date-popover-input {
  padding-right: 40px;
}
.profile-drawer__history-date-popover-cal-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #f9d94e;
  cursor: pointer;
}
.profile-drawer__history-date-popover-cal-btn:hover,
.profile-drawer__history-date-popover-cal-btn.is-active {
  background: rgba(249, 217, 78, 0.14);
}
.profile-drawer__history-date-popover-cal-ico {
  display: block;
}
.profile-drawer__history-date-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.profile-drawer__history-date-cal-title {
  flex: 1;
  text-align: center;
  color: #f9d94e;
  font-size: 14px;
  font-weight: 700;
}
.profile-drawer__history-date-cal-nav {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(249, 217, 78, 0.35);
  border-radius: 8px;
  background: #1a1a1a;
  color: #f9d94e;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.profile-drawer__history-date-cal-nav:hover {
  background: rgba(249, 217, 78, 0.12);
}
.profile-drawer__history-date-cal-weekdays,
.profile-drawer__history-date-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.profile-drawer__history-date-cal-weekdays span {
  text-align: center;
  color: rgba(249, 217, 78, 0.75);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 0;
}
.profile-drawer__history-date-cal-day {
  width: 100%;
  aspect-ratio: 1;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #e8e8e8;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.profile-drawer__history-date-cal-day:hover {
  background: rgba(249, 217, 78, 0.14);
  color: #f9d94e;
}
.profile-drawer__history-date-cal-day--empty {
  pointer-events: none;
}
.profile-drawer__history-date-cal-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(249, 217, 78, 0.65);
}
.profile-drawer__history-date-cal-day.is-in-range {
  background: rgba(249, 217, 78, 0.16);
  color: #f9d94e;
  border-radius: 0;
}
.profile-drawer__history-date-cal-day.is-selected,
.profile-drawer__history-date-cal-day.is-range-start,
.profile-drawer__history-date-cal-day.is-range-end {
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  color: #111;
  font-weight: 700;
}
.profile-drawer__history-date-cal-day.is-range-start {
  border-radius: 8px 0 0 8px;
}
.profile-drawer__history-date-cal-day.is-range-end {
  border-radius: 0 8px 8px 0;
}
.profile-drawer__history-date-cal-day.is-range-start.is-range-end {
  border-radius: 8px;
}
.profile-drawer__history-date-popover-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.profile-drawer__history-date-popover-field {
  display: grid;
  gap: 6px;
}
.profile-drawer__history-date-popover-field > span {
  color: #f9d94e;
  font-size: 12px;
  font-weight: 700;
}
.profile-drawer__history-date-popover-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(249, 217, 78, 0.35);
  border-radius: 8px;
  background: #1c1c1c;
  color: #fff;
  font: inherit;
  font-size: 13px;
  padding: 10px 40px 10px 12px;
}
.profile-drawer__history-date-popover-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(249, 217, 78, 0.2);
}
.profile-drawer__history-date-popover-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-drawer__history-date-preset {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid rgba(249, 217, 78, 0.35);
  border-radius: 8px;
  background: #141414;
  color: #f9d94e;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  cursor: pointer;
}
.profile-drawer__history-date-preset:hover {
  background: rgba(249, 217, 78, 0.12);
}
.profile-drawer__history-date-preset.is-active {
  border-color: #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  color: #111;
  font-weight: 700;
}
.profile-drawer__history-date-preset.is-active:hover {
  filter: brightness(1.02);
}
.profile-drawer__history-date-popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.profile-drawer__history-date-popover-actions button {
  border: 1px solid rgba(249, 217, 78, 0.45);
  border-radius: 8px;
  background: #1e1e1e;
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 10px 12px;
}
.profile-drawer__history-date-popover-actions button:last-child {
  border-color: #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  color: #111;
  font-weight: 700;
}
.profile-drawer__history-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.profile-drawer__history-btn {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
}
.profile-drawer__history-control.is-loading .profile-drawer__history-table-wrap {
  opacity: 0.65;
  pointer-events: none;
}
.profile-drawer__history-control[data-history-tabs-locked="1"] .profile-drawer__history-tab,
.profile-drawer__history-control[data-history-tabs-locked="1"] .profile-drawer__history-tab:hover,
.page--history-bet .profile-drawer__history-control[data-history-tabs-locked="1"] .profile-drawer__history-tab,
.page--history-bet .profile-drawer__history-control[data-history-tabs-locked="1"] .profile-drawer__history-tab:hover {
  cursor: default;
  pointer-events: none;
}
.profile-drawer__history-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: inherit;
  background: rgba(18, 18, 18, 0.62);
}
.profile-drawer__history-loading span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
  animation: history-loading-dot 0.9s ease-in-out infinite;
}
.profile-drawer__history-loading span:nth-child(2) {
  animation-delay: 0.14s;
}
.profile-drawer__history-loading span:nth-child(3) {
  animation-delay: 0.28s;
}
@keyframes history-loading-dot {
  0%,
  80%,
  100% {
    opacity: 0.45;
    transform: scale(0.72);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}
.profile-drawer__history-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}
.profile-drawer__history-btn--clear {
  border: 1px solid #e8c547;
  background: #1e1e1e;
  color: #fff;
}
.profile-drawer__history-btn--clear:hover {
  background: rgba(249, 217, 78, 0.08);
}
.profile-drawer__history-btn--search {
  border: 1px solid #f9d94e;
  color: #0a0a0a;
  background: var(--Main-Linear-color, linear-gradient(180deg, #f9d94e 0%, #c68308 100%));
}
.profile-drawer__history-btn--search:hover {
  filter: brightness(1.05);
}
.profile-drawer__history-table-wrap {
  margin-top: 14px;
  flex: 1;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  background: #141414;
}
.profile-drawer__history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  color: #e5e5e5;
}
.profile-drawer__history-table thead th {
  padding: 10px 8px;
  text-align: left;
  font-weight: 600;
  color: #fff;
  background: #2e2e2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}
.profile-drawer__history-table tbody:empty {
  display: none;
}
.profile-drawer__history-empty {
  margin: 0;
  padding: 36px 16px;
  text-align: center;
  font-size: 13px;
  color: #737373;
  line-height: 1.5;
}
.profile-drawer__history-table-foot td {
  padding: 10px 8px;
  font-weight: 600;
  color: #f5d67b;
  background: #1f1f1f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.profile-drawer__history-total-row--all td {
  color: #fff;
  background: #262626;
}
.profile-drawer__history-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 8px 4px;
}
.profile-drawer__history-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #1f1f1f;
  color: #e5e5e5;
  font-size: 12px;
  cursor: pointer;
}
.profile-drawer__history-page-btn:hover,
.profile-drawer__history-page-btn.is-active {
  border-color: #f5d67b;
  color: #f5d67b;
}
.profile-drawer__history-page-ellipsis {
  color: #737373;
  padding: 0 4px;
  font-size: 12px;
}
.profile-drawer__turnover-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 2px 12px;
  box-sizing: border-box;
}
.profile-drawer__turnover-title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin: 2px 0 12px;
  line-height: 1.2;
}
.profile-drawer__turnover-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-drawer__turnover-provider-wrap,
[data-turnover-provider-root] {
  position: relative;
}
.profile-drawer__turnover-provider-control {
  position: relative;
}
.profile-drawer__turnover-provider-wrap .profile-drawer__history-select-chev,
[data-turnover-provider-root] .profile-drawer__history-select-chev {
  transition: transform 0.15s ease;
}
.profile-drawer__turnover-provider-wrap--enhanced .profile-drawer__history-select {
  display: none;
}
.profile-drawer__turnover-provider-trigger,
[data-turnover-provider-root] .profile-drawer__history-select--custom.profile-drawer__turnover-provider-trigger {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 40px 12px 12px;
  border-radius: 8px;
  border: 1px solid #e8c547;
  background: #0a0a0a;
  color: #a3a3a3;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
}
.profile-drawer__turnover-provider-trigger-text,
[data-turnover-provider-root] .profile-drawer__history-select-custom-text {
  display: block;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #a3a3a3;
}
.profile-drawer__turnover-provider-control .profile-drawer__history-select-chev,
[data-turnover-provider-root] .profile-drawer__history-select-chev {
  position: absolute;
  right: 16px;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-top: 0;
  border: none;
  transform: translateY(-50%);
  pointer-events: none;
}
.profile-drawer__turnover-provider-control .profile-drawer__history-select-chev-img,
[data-turnover-provider-root] .profile-drawer__history-select-chev-img {
  display: block;
  width: 14px;
  height: 14px;
}
.profile-drawer__turnover-row:not(.is-selected) .profile-drawer__turnover-check {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.profile-drawer__turnover-row:not(.is-selected) .profile-drawer__turnover-check::after {
  display: none;
}
.profile-drawer__turnover-provider-trigger:focus,
[data-turnover-provider-root] .profile-drawer__turnover-provider-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(249, 217, 78, 0.25);
}
.profile-drawer__turnover-provider-wrap.is-open .profile-drawer__turnover-provider-control .profile-drawer__history-select-chev,
[data-turnover-provider-root].is-open .profile-drawer__history-select-chev {
  transform: translateY(-50%) rotate(180deg);
}
.profile-drawer__turnover-provider-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  max-height: min(70vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  scrollbar-width: thin;
}
.profile-drawer__turnover-provider-dropdown[hidden] {
  display: none !important;
}
.profile-drawer__turnover-provider-wrap.is-open .profile-drawer__turnover-provider-dropdown,
[data-turnover-provider-root].is-open .profile-drawer__turnover-provider-dropdown:not([hidden]) {
  display: block;
}
.profile-drawer__turnover-provider-scroll {
  max-height: min(70vh, 720px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.profile-drawer__turnover-provider-scroll::-webkit-scrollbar {
  width: 6px;
}
.profile-drawer__turnover-provider-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.profile-drawer__turnover-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: #222;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.profile-drawer__turnover-cat-total {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}
.profile-drawer__turnover-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 12px;
  margin: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #000;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}
.profile-drawer__turnover-row:hover {
  background: #141414;
}
.profile-drawer__turnover-row-logo {
  width: 40px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.profile-drawer__turnover-row-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.profile-drawer__turnover-row-name {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.profile-drawer__turnover-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: #22c55e;
  position: relative;
  box-sizing: border-box;
}
.profile-drawer__turnover-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.profile-drawer__turnover-actions {
  margin-top: 2px;
}
.profile-drawer__turnover-view::-webkit-scrollbar {
  display: none;
}
.profile-drawer__transfer-view:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
  padding: 4px 2px 12px;
  box-sizing: border-box;
}
.profile-drawer__transfer-view:not([hidden])::-webkit-scrollbar {
  display: none;
}
.profile-drawer__transfer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px 14px;
  flex-shrink: 0;
}
.profile-drawer__transfer-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.profile-drawer__transfer-head-ico {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.95;
}
.profile-drawer__transfer-head-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.profile-drawer__transfer-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.profile-drawer__transfer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.profile-drawer__transfer-pill:hover {
  background: #353535;
}
.profile-drawer__transfer-pill-ico img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.profile-drawer__transfer-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.profile-drawer__transfer-refresh:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.profile-drawer__transfer-refresh-ico {
  display: block;
}
.profile-drawer__transfer-wallets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.profile-drawer__transfer-wallet-card {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 32px 28px;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  min-width: 0;
  padding: 0;
  background: url("../images/header/profile/transfer/bg.png") no-repeat center center;
  background-size: 100% 100%;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.profile-drawer__transfer-wallet-card:not(:nth-child(5n + 1))::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 10px;
  width: 1px;
  height: calc(100% - 20px);
  background: #2a2a2a;
}
.profile-drawer__transfer-wallet-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1;
  width: 34px;
  height: 20px;
  margin-left: 0;
}
.profile-drawer__transfer-wallet-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
.profile-drawer__transfer-wallet-name {
  grid-column: 2;
  grid-row: 1;
  font-size: 11px;
  font-weight: 600;
  color: #e7e7e7;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0;
  word-break: break-word;
}
.profile-drawer__transfer-wallet-bal {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 28px;
  text-align: center;
}
.profile-drawer__transfer-wallet-bal.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #f9d94e;
}
.profile-drawer__transfer-wallet-bal.is-loading::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(249, 217, 78, 0.28);
  border-top-color: #f9d94e;
  border-radius: 999px;
  animation: transfer-wallet-loading-spin 0.7s linear infinite;
}
@keyframes transfer-wallet-loading-spin {
  to {
    transform: rotate(360deg);
  }
}
.profile-drawer__transfer-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  max-width: 50%;
  position: relative;
}
.profile-drawer__transfer-form.is-submitting {
  pointer-events: none;
}
.profile-drawer__transfer-form.is-submitting::before {
  content: '';
  position: absolute;
  inset: -8px;
  z-index: 20;
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.68);
  box-shadow: inset 0 0 0 1px rgba(249, 217, 78, 0.12);
}
.profile-drawer__transfer-form.is-submitting::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 21;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(249, 217, 78, 0.25);
  border-top-color: #f9d94e;
  border-radius: 999px;
  animation: transfer-wallet-loading-spin 0.7s linear infinite;
}
.profile-drawer__transfer-fromto {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: url("../images/header/profile/transfer/line-transfer.png") no-repeat center right;
  gap: 10px;
  padding-right: 45px;
  cursor: pointer;
}
.profile-drawer__transfer-fields {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: default;
}
.profile-drawer__transfer-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-drawer__transfer-label {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}
.profile-drawer__transfer-select-wrap {
  position: relative;
}
.profile-drawer__transfer-select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 36px 12px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
  color: #e5e5e5;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.profile-drawer__transfer-select-wrap--enhanced .profile-drawer__transfer-select {
  display: none;
}
.profile-drawer__transfer-select-trigger {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 40px 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #0a0a0a;
  color: #a3a3a3;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}
.profile-drawer__transfer-select-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(163, 163, 163, 0.35);
}
.profile-drawer__transfer-select-wrap--enhanced.is-open .profile-drawer__transfer-select-trigger {
  box-shadow: 0 0 0 2px rgba(163, 163, 163, 0.35);
}
.profile-drawer__transfer-select-trigger-logo {
  display: block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center;
}
.profile-drawer__transfer-select-trigger-label {
  flex: 1;
  color: #a3a3a3;
}
.profile-drawer__transfer-select-wrap--enhanced.has-value .profile-drawer__transfer-select-trigger-label {
  color: #fff;
}
.profile-drawer__transfer-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 380px;
  max-width: min(92vw, 380px);
  z-index: 60;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: none;
  height: auto;
  overflow: hidden;
}
.profile-drawer__transfer-select-options {
  max-height: none;
  overflow: visible;
  padding: 10px 0;
}
.profile-drawer__transfer-select-option {
  width: 100%;
  border: 0;
  margin: 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}
.profile-drawer__transfer-select-option:hover {
  background: rgba(255, 255, 255, 0.06);
}
.profile-drawer__transfer-select-option.is-disabled,
.profile-drawer__transfer-select-option:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
.profile-drawer__transfer-select-option.is-disabled:hover,
.profile-drawer__transfer-select-option:disabled:hover {
  background: transparent;
}
.profile-drawer__transfer-select-option-logo {
  width: 44px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-drawer__transfer-select-option-logo.is-empty {
  width: 0;
  margin-right: 0;
}
.profile-drawer__transfer-select-option-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.profile-drawer__transfer-select-option-label {
  line-height: 1.05;
}
.profile-drawer__transfer-select:focus {
  outline: none;
  border-color: #e8c547;
  box-shadow: 0 0 0 2px rgba(249, 217, 78, 0.2);
}
.profile-drawer__transfer-select-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.85;
  transition: transform 0.15s ease;
}
.profile-drawer__transfer-select-wrap.is-open .profile-drawer__transfer-select-chev {
  transform: rotate(-135deg);
}
.profile-drawer__transfer-swap-rail {
  display: none;
  cursor: pointer;
}
.profile-drawer__transfer-swap-line {
  flex: 1;
  width: 1px;
  min-height: 12px;
  background: rgba(255, 255, 255, 0.22);
}
.profile-drawer__transfer-swap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #151515;
  color: #f9d94e;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.profile-drawer__transfer-fromto:hover .profile-drawer__transfer-swap,
.profile-drawer__transfer-swap-rail:hover .profile-drawer__transfer-swap,
.profile-drawer__transfer-swap:hover {
  background: #1b1b1b;
  border-color: rgba(249, 217, 78, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 14px rgba(249, 217, 78, 0.26);
  filter: brightness(1.08);
  transform: scale(1.08);
}
.profile-drawer__transfer-swap-ico {
  display: block;
  width: 16px;
  height: 16px;
  background: url("../images/header/profile/transfer/transfer.png") no-repeat center;
  background-size: 100% 100%;
}
.profile-drawer__transfer-swap-ico path {
  display: none;
}
.profile-drawer__transfer-field--amt {
  margin-top: 2px;
}
.profile-drawer__transfer-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.profile-drawer__transfer-input:focus {
  outline: none;
  border-color: #e8c547;
}
.profile-drawer__transfer-input::placeholder {
  color: #737373;
}
.profile-drawer__transfer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.profile-drawer__transfer-btn {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.profile-drawer__transfer-btn--reset {
  border: 1px solid #e8c547;
  background: transparent;
  color: #fff;
}
.profile-drawer__transfer-btn--reset:hover {
  background: rgba(249, 217, 78, 0.08);
}
.profile-drawer__transfer-btn--submit {
  border: 1px solid #f9d94e;
  color: #0a0a0a;
  background: var(--Main-Linear-color, linear-gradient(180deg, #f9d94e 0%, #c68308 100%));
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}
.profile-drawer__transfer-btn--submit:hover {
  filter: brightness(1.05);
}
.profile-drawer__security-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 2px 12px;
  box-sizing: border-box;
}
.profile-drawer__security-view:not([hidden]) {
  border: 10px;
  padding: 10px;
}
.profile-drawer__security-view--detail .profile-drawer__security-summary.profile-drawer__security-block,
.profile-drawer__security-view--detail .profile-drawer__security-list.profile-drawer__security-block,
.profile-drawer__security-view--detail .profile-drawer__security-sessions.profile-drawer__security-block {
  display: none !important;
}
@media (min-width: 641px) {
  .profile-drawer__security-view {
    background: #121212;
    border-radius: 10px;
  }
  .profile-drawer__security-personal {
    background: #1e1e1e;
  }
  .profile-drawer__security-list {
    background: #1e1e1e;
  }
  .profile-drawer__security-sessions {
    background: #1e1e1e;
  }
}
.profile-drawer__security-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 10px;
  flex-shrink: 0;
}
.profile-drawer__security-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  flex-shrink: 0;
}
.profile-drawer__security-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.profile-drawer__security-back-ico {
  display: block;
}
.profile-drawer__security-head-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.profile-drawer__security-head-back-btn {
  display: none;
}
.profile-drawer__security-head-ico {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.profile-drawer__security-head-title {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}
.deposit-main-profile-drawer-mount:has(.profile-drawer__security-view--detail) .profile-drawer__security-head-title,
.deposit-main-profile-drawer-mount:has(.profile-drawer__security-view--mobile-detail) .profile-drawer__security-head-title {
  cursor: pointer;
}
.profile-drawer__security-head-title-extra {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.profile-drawer__security-head-title-sep {
  font-size: 14px;
  font-weight: 600;
  color: #d1d5db;
  margin: 0 2px;
}
.profile-drawer__security-summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 8px 4px 18px;
  flex-shrink: 0;
}
.profile-drawer__security-gauge {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.profile-drawer__security-gauge-svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
}
.profile-drawer__security-gauge-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
}
.profile-drawer__security-summary-main {
  flex: 1;
  min-width: 0;
}
.profile-drawer__security-level-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}
.profile-drawer__security-reward {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #f9d94e;
}
.profile-drawer__security-reward-ico {
  flex-shrink: 0;
  margin-top: 1px;
}
.profile-drawer__security-reward-ico img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.profile-drawer__security-reward-txt {
  flex: 1;
  min-width: 0;
}
.profile-drawer__security-bolts {
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-drawer__security-bolt {
  display: inline-flex;
  line-height: 0;
}
.profile-drawer__security-bolt--hot {
  color: #ef4444;
}
.profile-drawer__security-bolt--dim {
  color: #404040;
}
.profile-drawer__security-list {
  display: flex;
  flex-direction: column;
  max-width: 50%;
  box-sizing: border-box;
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  flex-shrink: 0;
}
.profile-drawer__security-list[hidden] {
  display: none !important;
}
.profile-drawer__security-sessions {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 14px 0 0;
  padding: 0;
  box-sizing: border-box;
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  flex: 1;
  min-height: 120px;
}
.profile-drawer__security-sessions[hidden] {
  display: none !important;
}
.profile-drawer__security-sessions-title {
  margin: 0;
  padding: 12px 14px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.profile-drawer__security-sessions-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}
.profile-drawer__security-session-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgb(77 77 77);
}
.profile-drawer__security-session-row:last-child {
  border-bottom: none;
}
.profile-drawer__security-session-ico {
  flex-shrink: 0;
  display: flex;
  line-height: 0;
  margin-top: 1px;
}
.profile-drawer__security-session-ico svg {
  display: block;
}
.profile-drawer__security-session-body {
  flex: 1;
  min-width: 0;
}
.profile-drawer__security-session-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.profile-drawer__security-session-device {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.profile-drawer__security-session-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #4ade80;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.profile-drawer__security-session-meta,
.profile-drawer__security-session-time {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.35;
}
.profile-drawer__security-session-time {
  margin-top: 2px;
}
.profile-drawer__security-summary[hidden] {
  display: none !important;
}
.profile-drawer__security-personal {
  max-width: 50%;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 10px;
  color: #fff;
}
.profile-drawer__security-personal[hidden] {
  display: none !important;
}
.profile-drawer__security-bank {
  max-width: 50%;
  box-sizing: border-box;
  color: #fff;
}
.profile-drawer__security-bank[hidden] {
  display: none !important;
}
.profile-drawer__security-bank-limit {
  margin: 0 0 10px;
  font-size: 12px;
  color: #eab308;
  font-weight: 600;
}
.profile-drawer__security-bank-card {
  border: 1px solid rgba(234, 179, 8, 0.28);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #1a1a1a;
}
.profile-drawer__security-bank-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 15px;
}
.profile-drawer__security-bank-name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.profile-drawer__security-bank-number {
  margin: 0;
  font-size: 12px;
  color: #d1d5db;
  letter-spacing: 0.02em;
}
.profile-drawer__security-bank-logos {
  display: flex;
  gap: 8px;
}
.profile-drawer__security-bank-logo {
  min-width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #174c7f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
}
.profile-drawer__security-bank-logo--qr {
  border: 0;
  padding: 0;
  cursor: pointer;
}
.profile-drawer__security-bank-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-drawer__security-bank-logo--qr {
  background: #f5f5f5;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}
.profile-drawer__security-bank-add-qr {
  min-width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #2a2a2a;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.profile-drawer__security-bank-add-qr span {
  font-size: 11px;
  font-weight: 500;
}
.profile-drawer__security-bank-card-bottom {
  height: 30px;
  background: #174c86;
}
.profile-drawer__security-bank-add-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.profile-drawer__security-qr-modal[hidden] {
  display: none !important;
}
.profile-drawer__security-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.profile-drawer__security-qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.profile-drawer__security-qr-dialog {
  position: relative;
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #f9d94e;
  background: #050505;
  padding: 14px 14px 14px;
  box-sizing: border-box;
}
.profile-drawer__security-qr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  margin-bottom: 10px;
  padding-bottom: 4px;
  background: #050505;
}
.profile-drawer__security-qr-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
  flex: 1;
}
.profile-drawer__security-qr-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.profile-drawer__security-qr-body {
  display: flex;
  justify-content: center;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin-bottom: 14px;
}
.profile-drawer__security-qr-image {
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 620px);
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: contain;
}
.profile-drawer__security-qr-ok {
  width: 100%;
  flex-shrink: 0;
  border: 1px solid #f9d94e;
  border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  color: #111827;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.profile-drawer__security-addqr-modal[hidden] {
  display: none !important;
}
.profile-drawer__security-addqr-modal {
  position: fixed;
  inset: 0;
  z-index: 1201;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-drawer__security-addqr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.profile-drawer__security-addqr-dialog {
  position: relative;
  width: min(520px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid #f9d94e;
  background: #050505;
  padding: 14px 16px 16px;
  box-sizing: border-box;
  color: #fff;
}
.profile-drawer__security-addqr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.profile-drawer__security-addqr-title {
  font-size: 14px;
  font-weight: 700;
}
.profile-drawer__security-addqr-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}
.profile-drawer__security-addqr-note {
  margin: 0 0 12px;
  font-size: 14px;
  color: #fff;
}
.profile-drawer__security-addqr-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.profile-drawer__security-addqr-label span {
  color: #ef4444;
}
.profile-drawer__security-addqr-file-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.profile-drawer__security-addqr-file-name {
  background: #1f1f1f;
  color: #9ca3af;
  font-size: 16px;
  padding: 14px 16px;
}
.profile-drawer__security-addqr-file-btn {
  background: #3a3a3a;
  color: #e5e7eb;
  font-size: 16px;
  padding: 14px 18px;
  cursor: pointer;
}
.profile-drawer__security-addqr-submit {
  width: 100%;
  border: 1px solid #f9d94e;
  border-radius: 12px;
  padding: 14px 16px;
  background: #f9d94e;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.profile-drawer__security-personal-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding: 12px 0;
}
.profile-drawer__security-personal-item-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #9ca3af;
  margin-bottom: 4px;
}
.profile-drawer__security-personal-item-value {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  font-weight: 600;
}
.profile-drawer__security-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgb(77 77 77);
  background: transparent;
}
.profile-drawer__security-row:last-child {
  border-bottom: none;
}
.profile-drawer__security-row-ico {
  flex-shrink: 0;
  display: flex;
  line-height: 0;
}
.profile-drawer__security-row-ico svg {
  display: block;
}
.profile-drawer__security-row-ico img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.profile-drawer__security-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.profile-drawer__security-row-title-line {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
}
.profile-drawer__security-row-title-line > .profile-drawer__security-row-title {
  flex: 0 1 auto;
  min-width: 0;
}
.profile-drawer__security-row-title-line > .profile-drawer__security-row-status {
  flex-shrink: 0;
}
.profile-drawer__security-row-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.profile-drawer__security-row-pencil {
  flex-shrink: 0;
  opacity: 0.95;
}
.profile-drawer__security-row-sub {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.35;
}
.profile-drawer__security-row-status {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-drawer__security-row-status svg {
  display: block;
}
.profile-drawer__security-chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #d4d4d4;
  border-bottom: 1.5px solid #d4d4d4;
  transform: rotate(-45deg);
  flex-shrink: 0;
  opacity: 0.9;
}
.profile-drawer__notifications-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px 12px;
  flex-shrink: 0;
}
.profile-drawer__notifications-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  flex-shrink: 0;
}
.profile-drawer__notifications-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.profile-drawer__notifications-back-ico {
  display: block;
}
.profile-drawer__notifications-head-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.profile-drawer__notifications-head-ico {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.profile-drawer__notifications-head-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.profile-drawer__notifications-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 2px 8px;
}
.profile-drawer__notification-card {
  max-width: 50%;
  background: #2e2e2e;
  border-radius: 12px;
  padding: 12px 12px 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}
.profile-drawer__notification-card:last-child {
  margin-bottom: 0;
}
.profile-drawer__notification-time {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 8px;
}
.profile-drawer__notification-title-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  max-width: 100%;
}
.profile-drawer__notification-title {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.profile-drawer__notification-star {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  object-fit: contain;
  display: block;
  align-self: center;
}
.profile-drawer__notification-banner-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  line-height: 0;
  background: #1a1a1a;
}
.profile-drawer__notification-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  object-position: center;
}
.profile-drawer__notification-showall {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  text-transform: lowercase;
  cursor: pointer;
  line-height: 1;
}
.profile-drawer__notification-showall:hover {
  background: rgba(0, 0, 0, 0.9);
}
.profile-drawer__notification-showall-chev {
  display: block;
  flex-shrink: 0;
  opacity: 0.95;
}
.profile-drawer__notification-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-drawer__notification-more {
  font-size: 12px;
  font-weight: 600;
  color: #f9d94e;
  text-decoration: none;
}
.profile-drawer__notification-more:hover {
  text-decoration: underline;
}
.profile-drawer__notification-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  flex-shrink: 0;
}
.profile-drawer__notification-delete:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.profile-drawer__notification-delete-ico {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
/* Promotion center member notifications */
.profile-drawer__member-center {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  flex: 1;
}
.profile-drawer__member-center-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1c1d21 0%, #141519 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-drawer__member-center-tab {
  border: 0;
  min-height: 36px;
  border-radius: 8px;
  background: transparent;
  color: #f3f4f6;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profile-drawer__member-center-tab:last-child {
  border-right: 0;
}
.profile-drawer__member-center-tab--active {
  background: #3a3b41;
  color: #fff;
}
.profile-drawer__member-center-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  margin-left: 3px;
  margin-top: -10px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.profile-drawer__member-center-list {
  min-height: 0;
  overflow: auto;
}
.profile-drawer__member-center-list.profile-drawer__member-center-list--transactions {
  max-width: 50%;
}
.page--notifications .profile-drawer__member-center-list.profile-drawer__member-center-list--transactions {
  max-width: 100%;
}
.profile-drawer__member-center-list .profile-drawer__notification-card {
  margin-bottom: 14px;
}
.profile-drawer__member-center-list .profile-drawer__notification-card:last-child {
  margin-bottom: 0;
}
.profile-drawer__member-center-empty {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1b1b1b;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-align: center;
  padding: 26px 14px;
}
/* JS toggles [hidden] on tab panels; explicit display:flex on lists must not override it */
.profile-drawer__member-center [data-member-view][hidden] {
  display: none !important;
}
.page--transations .profile-drawer__member-center {
  gap: 12px;
}
.page--transations .profile-drawer__member-center-list--transactions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 50%;
}
.page--transations .profile-drawer__member-center-group-title {
  margin: 2px 0 2px;
  color: #d1d5db;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.page--transations .profile-drawer__member-transaction-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #1b1d22;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
}
.page--transations .profile-drawer__member-transaction-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0f172a;
}
.page--transations .profile-drawer__member-transaction-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page--transations .profile-drawer__member-transaction-content {
  min-width: 0;
  flex: 1;
}
.page--transations .profile-drawer__member-transaction-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.page--transations .profile-drawer__member-transaction-title {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.page--transations .profile-drawer__member-transaction-time {
  color: rgba(229, 231, 235, 0.82);
  font-size: 11px;
  white-space: nowrap;
}
.page--transations .profile-drawer__member-transaction-text {
  margin: 4px 0 0;
  color: #d1d5db;
  font-size: 11px;
  line-height: 1.3;
}
.page--transations .profile-drawer__member-transaction-text strong {
  color: #f9d94e;
  font-weight: 800;
}
.page--transations .profile-drawer__member-transaction-status {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}
.page--transations .profile-drawer__member-transaction-status--ok {
  background: #22c55e;
}
.page--transations .profile-drawer__member-transaction-status--fail {
  background: #ef4444;
}
.page--promotion-center .profile-drawer__member-center-list--transactions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.page--promotion-center .profile-drawer__member-center-group-title {
  margin: 0;
  color: #f3f4f6;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.page--promotion-center .profile-drawer__member-transaction-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
}
.page--promotion-center .profile-drawer__member-transaction-logo {
  width: 50px;
  height: 50px;
  border-radius: 7px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page--promotion-center .profile-drawer__member-transaction-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page--promotion-center .profile-drawer__member-transaction-logo-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page--promotion-center .profile-drawer__member-transaction-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.page--promotion-center .profile-drawer__member-transaction-content {
  flex: 1;
  min-width: 0;
}
.page--promotion-center .profile-drawer__member-transaction-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.page--promotion-center .profile-drawer__member-transaction-title {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page--promotion-center .profile-drawer__member-transaction-time {
  color: rgba(229, 231, 235, 0.78);
  font-size: 0.8rem;
  white-space: nowrap;
}
.page--promotion-center .profile-drawer__member-transaction-text {
  margin: 4px 0 0;
  color: #f3f4f6;
  font-size: 0.86rem;
  line-height: 1.25;
}
.page--promotion-center .profile-drawer__member-transaction-text strong {
  color: #f9d94e;
  font-weight: 800;
}
.page--promotion-center .profile-drawer__member-transaction-status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}
.page--promotion-center .profile-drawer__member-transaction-status--ok {
  background: #22c55e;
}
.page--promotion-center .profile-drawer__member-transaction-status--fail {
  background: #ef4444;
}
.page--promotion-center .profile-drawer__member-center-list--system {
  width: 100%;
  max-width: 100%;
}
.page--promotion-center .profile-drawer__member-system-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1e1e1e;
  padding: 14px 16px 12px;
}
.page--promotion-center .profile-drawer__member-system-time-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page--promotion-center .profile-drawer__member-system-time {
  color: #9ca3af;
  font-size: 0.88rem;
}
.page--promotion-center .profile-drawer__member-system-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f9d94e;
}
.page--promotion-center .profile-drawer__member-system-title {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}
.page--promotion-center .profile-drawer__member-system-text {
  margin: 0 0 8px;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.25;
}
.page--promotion-center .profile-drawer__member-system-list {
  margin: 0 0 10px;
  padding-left: 18px;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.25;
}
.page--promotion-center .profile-drawer__member-system-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}
.profile-drawer__txn-modal[hidden] {
  display: none;
}
.profile-drawer__txn-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.profile-drawer__txn-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
}
.profile-drawer__txn-modal-panel {
  position: relative;
  width: min(100%, 520px);
  border: 1px solid #f9d94e;
  border-radius: 16px;
  background: #050608;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  padding: 20px 20px 18px;
  color: #fff;
}
.profile-drawer__txn-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}
.profile-drawer__txn-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 34px;
}
.profile-drawer__txn-modal-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}
.profile-drawer__txn-modal-status-dot.is-fail {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16);
}
.profile-drawer__txn-modal-title {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
}
.profile-drawer__txn-modal-desc {
  margin: 14px 0 12px;
  font-size: 15px;
  color: #e5e7eb;
}
.profile-drawer__txn-modal-divider {
  height: 1px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}
.profile-drawer__txn-modal-grid {
  display: grid;
  gap: 10px;
}
.profile-drawer__txn-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.profile-drawer__txn-modal-key {
  color: #e5e7eb;
  font-size: 15px;
}
.profile-drawer__txn-modal-val {
  color: #fff;
  font-size: 15px;
  text-align: right;
}
.profile-drawer__txn-modal-bank {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.profile-drawer__txn-modal-bank-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profile-drawer__txn-modal-bank-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-drawer__txn-modal-amount,
.profile-drawer__txn-modal-result {
  color: #00e03b;
  font-weight: 700;
}
.profile-drawer__txn-modal-result.is-fail {
  color: #ef4444;
}
.profile-drawer__wallet-body--withdraw {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  flex: 1;
  padding: 14px 0 18px;
  background: transparent;
  border-radius: 0 0 10px 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  .profile-drawer__wallet-body,
  .profile-drawer__wallet-body--withdraw {
    background: transparent;
  }
  .profile-drawer__wallet-body--withdraw {
    padding: 0 5px 40px;
  }
}
.profile-drawer__withdraw-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 50%;
  min-width: 0;
  min-height: 0;
  flex: 1;
}
@media (max-width: 768px) {
  .profile-drawer__wallet-body-col--main.profile-drawer__withdraw-layout {
    max-width: 100%;
  }
  .profile-drawer__withdraw-bank-card,
  .profile-drawer__withdraw-bank-add {
    min-height: unset;
  }
}
.profile-drawer__withdraw-block-title {
  padding-top: 10px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.profile-drawer__withdraw-alert {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.45;
}
.profile-drawer__withdraw-conditions > .profile-drawer__withdraw-alert {
  margin-bottom: 6px;
}
.profile-drawer__withdraw-conditions > .profile-drawer__withdraw-alert:last-of-type {
  margin-bottom: 12px;
}
.profile-drawer__withdraw-condition-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}
.profile-drawer__withdraw-alert-ast {
  color: #ff3b30;
  font-weight: 700;
}
.profile-drawer__withdraw-turnover-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}
.profile-drawer__withdraw-turnover {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #0d0d0d;
  border: 1px solid #f9d94e;
  box-sizing: border-box;
}
.profile-drawer__withdraw-turnover-label {
  font-size: 14px;
  font-weight: 600;
  color: #8a8a8a;
  flex-shrink: 0;
}
.profile-drawer__withdraw-turnover-val {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  min-width: 0;
  text-align: right;
}
.profile-drawer__withdraw-turnover-num--done {
  color: #f9d94e;
}
.profile-drawer__withdraw-turnover-slash {
  color: #c8c8c8;
  font-weight: 600;
}
.profile-drawer__withdraw-turnover-num--goal {
  color: #ffffff;
}
.profile-drawer__withdraw-bet-btn {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 16px 20px;
  border: none;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  color: #0a0a0a;
  cursor: pointer;
  background: linear-gradient(180deg, #ffcc33 0%, #c68308 100%);
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.25);
  line-height: 1.2;
}
.profile-drawer__withdraw-bet-btn:hover {
  filter: brightness(1.05);
}
.profile-drawer__withdraw-bet-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ff3b30;
  border: 2px solid #0d0d0d;
  box-sizing: border-box;
}
.profile-drawer__withdraw-field-label {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.profile-drawer__withdraw-asterisk {
  color: #f85149;
  font-weight: 700;
}
.profile-drawer__withdraw-bank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-drawer__withdraw-bank-card {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  border: 1px solid #c9a227;
  border-radius: 15px;
  background: url("../images/profile/withdraw/banksbg.jpg") no-repeat center;
  background-size: 100% 100%;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.profile-drawer__withdraw-bank-card:hover {
  border-color: #e8d060;
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.2);
}
.profile-drawer__withdraw-bank-card--selected {
  border-color: #d4af37;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.45);
}
.profile-drawer__withdraw-bank-card-top {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: anchor-center;
  justify-content: space-between;
  gap: 14px;
  min-height: 0;
  padding: 18px 20px 16px;
  box-sizing: border-box;
}
.profile-drawer__withdraw-bank-card-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.profile-drawer__withdraw-bank-card-bank {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.profile-drawer__withdraw-bank-card-user {
  font-size: 13px;
  font-weight: 500;
  color: #8b9099;
  line-height: 1.25;
}
.profile-drawer__withdraw-bank-card-acct {
  font-size: 13px;
  font-weight: 500;
  color: #c5cad3;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.profile-drawer__withdraw-bank-card-icons {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}
.profile-drawer__withdraw-bank-card-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.profile-drawer__withdraw-bank-card-logo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.profile-drawer__withdraw-bank-card-pay-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.profile-drawer__withdraw-bank-card-pay-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-drawer__withdraw-bank-card-pay-label {
  font-size: 8px;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.profile-drawer__withdraw-bank-card-pay-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  line-height: 0;
}
.profile-drawer__withdraw-bank-card-pay-qr svg {
  display: block;
}
.profile-drawer__withdraw-bank-card-foot {
  flex: 0 0 auto;
  height: 48px;
  min-height: 48px;
  background: #1a3a4a;
  box-sizing: border-box;
}
.profile-drawer__withdraw-bank-card-check {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px 0 18px 0;
  background: #22c55e;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: -2px -2px 8px rgba(0, 0, 0, 0.25);
}
.profile-drawer__withdraw-bank-card--selected .profile-drawer__withdraw-bank-card-check {
  display: flex;
}
.profile-drawer__withdraw-bank-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 168px;
  margin: 0;
  padding: 20px 16px;
  border: none;
  border-radius: 10px;
  background: #1c1c1c;
  font-size: 14px;
  font-family: inherit;
  color: #e0e0e0;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.profile-drawer__withdraw-bank-add:hover {
  background: #252525;
  color: #ffffff;
}
.profile-drawer__withdraw-bank-add:hover .profile-drawer__withdraw-bank-add-plus {
  color: #b0b0b0;
}
.profile-drawer__withdraw-bank-add-plus {
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: #9e9e9e;
}
.profile-drawer__withdraw-bank-add-label {
  font-size: 14px;
  font-weight: 500;
  color: #e8e8e8;
  line-height: 1.3;
}
.profile-drawer__withdraw-bank-add:hover .profile-drawer__withdraw-bank-add-label {
  color: #ffffff;
}
.profile-drawer__withdraw-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #141414;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.profile-drawer__withdraw-input::placeholder {
  color: #737373;
}
.profile-drawer__withdraw-input:focus {
  outline: none;
  border-color: rgba(249, 217, 78, 0.45);
}
.profile-drawer__withdraw-hint {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #e5e5e5;
  line-height: 1.4;
}
.profile-drawer__withdraw-hint-ast {
  color: #f85149;
  font-weight: 700;
}
.profile-drawer__withdraw-submit {
  margin-top: 8px;
  margin-bottom: 64px;
}
.page--withdrawal .profile-drawer__wallet-body--withdraw {
  padding-bottom: 48px;
}
.page--withdrawal .profile-drawer__wallet-control {
  padding-bottom: 40px;
}
.page--withdrawal .profile-drawer__withdraw-layout form {
  padding-bottom: 48px;
  box-sizing: border-box;
}
.page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel {
  padding-bottom: 32px;
}
.withdrawal-notice-popup[hidden] {
  display: none !important;
}
.withdrawal-notice-popup {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.withdrawal-notice-popup__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}
.withdrawal-notice-popup__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  box-sizing: border-box;
  padding: 20px 18px 18px;
  border: 1px solid #f9d94e;
  border-radius: 16px;
  background: #000;
  color: #fff;
  text-align: center;
}
.withdrawal-notice-popup__icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.withdrawal-notice-popup__icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.withdrawal-notice-popup__icon-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 11px !important;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.withdrawal-notice-popup__title {
  margin: 0 0 6px;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.withdrawal-notice-popup__subtitle {
  margin: 0 0 16px;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.withdrawal-notice-popup__rows {
  margin: 0 0 18px;
  padding: 0;
  text-align: left;
}
.withdrawal-notice-popup__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.withdrawal-notice-popup__row:last-child {
  margin-bottom: 0;
}
.withdrawal-notice-popup__row dt {
  margin: 0;
  font-size: 13px !important;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.withdrawal-notice-popup__row dd {
  margin: 0;
  font-size: 13px !important;
  font-weight: 700;
  color: #f9d94e;
  line-height: 1.3;
  white-space: nowrap;
}
.withdrawal-notice-popup__ok {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #f9d94e;
  color: #000;
  font-size: 14px !important;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.withdrawal-notice-popup__ok:hover {
  filter: brightness(1.05);
}
body.withdrawal-notice-popup-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .withdrawal-notice-popup__panel {
    width: min(100%, 320px);
  }
}
@media (max-width: 640px) {
  .page--withdrawal .profile-drawer__withdraw-condition-rows {
    gap: 8px;
  }
  .page--withdrawal .profile-drawer__withdraw-turnover-row {
    gap: 6px;
  }
  .page--withdrawal .profile-drawer__withdraw-bet-btn {
    width: 88px;
    min-width: 88px;
    height: 50px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
  }
  .profile-drawer__withdraw-bank-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }
  .profile-drawer__withdraw-bank-card,
  .profile-drawer__withdraw-bank-add {
    width: 100%;
    min-height: unset;
  }
  .profile-drawer__withdraw-bank-card-top {
    align-items: flex-start;
    gap: 8px;
    padding: 10px 10px 8px 12px;
  }
  .profile-drawer__withdraw-bank-card-icons {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .profile-drawer__withdraw-bank-card-logo-tile,
  .profile-drawer__withdraw-bank-card-pay-tile {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }
  .profile-drawer__withdraw-bank-card-bank {
    font-size: 15px;
  }
  .profile-drawer__withdraw-bank-card-user,
  .profile-drawer__withdraw-bank-card-acct {
    font-size: 11px;
  }
  .profile-drawer__withdraw-bank-add {
    grid-column: 1;
    border: 1px dashed #50545b;
    border-radius: 12px;
    background: #1d1f24;
  }
  .page:not(.page--profile) .deposit-main-profile-drawer-mount .profile-drawer__head {
    position: relative;
  }
  .page:not(.page--profile):not(.page--deposit) .deposit-main-profile-drawer-mount .profile-drawer__side {
    display: none;
  }
  .page:not(.page--profile) .deposit-main-profile-drawer-mount .profile-drawer__title,
  .page:not(.page--profile) .deposit-main-profile-drawer-mount .profile-drawer__head-icon {
    display: none;
  }
  .profile-drawer__head {
    padding: 5px 10px;
  }
  .profile-drawer__title {
    font-size: 12px;
    font-weight: 600;
  }
  .profile-drawer__nav-row {
    font-size: 12px;
  }
  .profile-drawer__wallet-top {
    padding: 10px 0;
    gap: 0;
  }
  .page--profile .profile-drawer__head {
    gap: 8px;
  }
  .page--profile .profile-drawer__back-mobile {
    display: inline-flex;
  }
  .page--profile .profile-drawer__back-mobile img {
    width: 16px;
    height: 16px;
  }
  .page--profile .profile-drawer__head-icon {
    display: none;
  }
  .page--profile .profile-drawer__close {
    display: none;
  }
  .deposit-main-profile-drawer-mount .profile-drawer__panel {
    padding-bottom: 50px;
  }
  .profile-drawer__wallet-panel {
    zoom: 0.9;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .profile-drawer__wallet-tab,
  .profile-drawer__wallet-funding-tab {
    font-size: 12px;
  }
  .profile-drawer__wallet-submit {
    font-size: 12px;
  }
  .profile-drawer__wallet-pill-btn {
    font-size: 10px;
  }
  .profile-drawer__wallet-screen-title {
    font-size: 12px;
  }
  .profile-drawer__wallet-promo-chev {
    pointer-events: auto;
    cursor: pointer;
  }
  .profile-drawer__wallet-top-gear .profile-drawer__wallet-top-gear-img {
    display: none;
  }
  .profile-drawer__wallet-top-gear {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
  }
  .profile-drawer__wallet-icon-btn {
    width: 20px;
    height: 20px;
  }
  .profile-drawer__wallet-control {
    background: transparent;
    padding: 10px 0;
  }
  .page--deposit:not(.page--profile) .profile-drawer__vip,
  .page--deposit:not(.page--profile) .profile-drawer__finance,
  .page--deposit:not(.page--profile) .profile-drawer__nav,
  .page--deposit:not(.page--profile) .profile-drawer__referral,
  .page--deposit:not(.page--profile) .profile-drawer__amb,
  .page--deposit:not(.page--profile) .profile-drawer__nav.profile-drawer__nav--secondary,
  .page--deposit:not(.page--profile) .profile-drawer__logout {
    display: none;
  }
  .profile-drawer__finance-btns .profile-drawer__dep,
  .profile-drawer__finance-btns .profile-drawer__wd {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .profile-drawer__body {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .profile-drawer__side {
    padding: 0;
  }
  .profile-drawer__wallet-body:not(.profile-drawer__wallet-body--withdraw) {
    grid-template-columns: 1fr;
  }
  .profile-drawer__wallet-body-col--aside {
    display: none;
  }
  .profile-drawer__empty {
    display: none;
    background: transparent;
  }
  .page--history-bet .profile-drawer__empty {
    display: block;
  }
  .profile-drawer__empty.profile-drawer__empty--active {
    display: block;
  }
  .profile-drawer__history-filters {
    grid-template-columns: 1fr;
  }
  .profile-drawer__history-control {
    background: transparent;
  }
  .page--bank-account .profile-drawer__bank-bind-fields {
    width: 100%;
  }
  .page--bank-account .profile-drawer__bank-bind-submit {
    max-width: 100%;
  }
  .page--bank-account .profile-drawer__bank-bind-title {
    font-size: 12px;
  }
  .page--bank-account .profile-drawer__wallet-top,
  .page--bank-account .profile-drawer__head,
  .page--bank-account .profile-drawer__wallet-tabs,
  .page--bank-account .profile-drawer__bank-bind[data-wallet-view="withdraw"],
  .page--bank-account #profile-drawer-history-view,
  .page--bank-account #profile-drawer-transfer-view,
  .page--bank-account #profile-drawer-notifications-view {
    display: none !important;
  }
  .page--bank-account .profile-drawer__wallet-panel {
    padding: 0;
  }
  .page--bank-account .profile-drawer__wallet-control--bank-bind {
    padding: 0;
  }
  .page--bank-account .bank-account-mobile {
    display: block;
    padding: 16px 0 100px;
  }
  .page--bank-account .bank-account-mobile__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
  }
  .page--bank-account .bank-account-mobile__back {
    width: 28px;
    height: 28px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  .page--bank-account .bank-account-mobile__title {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
  }
  .page--bank-account .bank-account-mobile__note {
    margin: 0 0 18px;
    color: #e1bf34;
    font-size: 22px;
    font-weight: 500;
  }
  .page--bank-account .bank-account-mobile__card {
    margin-bottom: 18px;
    border: 1px solid rgba(225, 191, 52, 0.45);
    border-radius: 18px;
    background: linear-gradient(160deg, #101010 0%, #1d1b0a 100%);
    overflow: hidden;
  }
  .page--bank-account .bank-account-mobile__card-top {
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px 14px;
  }
  .page--bank-account .bank-account-mobile__name {
    margin: 0 0 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
  }
  .page--bank-account .bank-account-mobile__number {
    margin: 0;
    color: #bfc3ca;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }
  .page--bank-account .bank-account-mobile__logos {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .page--bank-account .bank-account-mobile__logo {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
  }
  .page--bank-account .bank-account-mobile__logo--aba {
    background: #1c5d90;
  }
  .page--bank-account .bank-account-mobile__logo--qr {
    width: 78px;
    background: #f2f5f8;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
  }
  .page--bank-account .bank-account-mobile__logo--wing {
    background: #1f4b8f;
    font-size: 20px;
  }
  .page--bank-account .bank-account-mobile__add-qr {
    width: 84px;
    height: 76px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #2c2c2c;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    cursor: pointer;
    font-family: inherit;
  }
  .page--bank-account .bank-account-mobile__add-plus {
    font-size: 42px;
    line-height: 0.9;
    font-weight: 300;
  }
  .page--bank-account .bank-account-mobile__add-label {
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
  }
  .page--bank-account .bank-account-mobile__card-bottom {
    height: 40px;
    background: #1f587a;
  }
  .page--bank-account .bank-account-mobile__card-bottom--alt {
    background: #184b8b;
  }
  .page--bank-account .bank-account-mobile__add-btn {
    margin-top: 22px;
    width: 100%;
    height: 58px;
    border-radius: 12px;
    border: 1px solid #e7c241;
    background: linear-gradient(180deg, #f7d84a 0%, #d9a919 100%);
    color: #111;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
  }
  .profile-drawer__security-list {
    max-width: 100%;
  }
  .profile-drawer__security-view--mobile-detail .profile-drawer__security-summary.profile-drawer__security-block,
  .profile-drawer__security-view--mobile-detail .profile-drawer__security-list.profile-drawer__security-block,
  .profile-drawer__security-view--mobile-detail .profile-drawer__security-sessions.profile-drawer__security-block {
    display: none !important;
  }
  .profile-drawer__security-view--mobile-detail .profile-drawer__security-personal.profile-drawer__security-block:not([hidden]),
  .profile-drawer__security-view--mobile-detail .profile-drawer__security-bank.profile-drawer__security-block:not([hidden]) {
    display: block;
    max-width: 100%;
  }
  .profile-drawer__security-personal {
    max-width: 100%;
  }
  .profile-drawer__security-bank {
    max-width: 100%;
  }
  .profile-drawer__security-head {
    padding: 15px 0px;
  }
  .profile-drawer__security-head-title-row,
  .profile-drawer__security-head-title-row * {
    font-size: 14px;
  }
  .profile-drawer__security-head-ico {
    display: none;
  }
  .profile-drawer__security-head-title-row {
    position: relative;
    padding-left: 32px;
  }
  .profile-drawer__security-head-title-row::before {
    display: none;
  }
  .profile-drawer__security-head-back-btn {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .profile-drawer__logout {
    font-size: 12px !important;
  }
  .profile-drawer__notification-card {
    max-width: 100%;
  }
  .page--promotion-center .profile-drawer__member-center-list--transactions,
  .page--notifications .profile-drawer__member-center-list--transactions {
    width: 100%;
  }
  .profile-drawer__member-center-list.profile-drawer__member-center-list--transactions {
    width: 100%;
    max-width: none;
  }
  .profile-drawer__transfer-form {
    width: 100%;
    max-width: none;
  }
  .page--history-bet .profile-drawer__history-filters.profile-drawer__history-filters--bet {
    max-width: 100%;
  }
  .page--history-bet .profile-drawer__history-tabs {
    scrollbar-width: none;
  }
  .page--history-bet .profile-drawer__history-tabs::-webkit-scrollbar {
    display: none;
  }
  .profile-drawer__transfer-wallets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .profile-drawer__transfer-wallet-card::before {
    display: none;
  }
  .profile-drawer__transfer-wallet-card:not(:nth-child(3n + 1))::before {
    display: block;
  }

  .profile-drawer__promo-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 100005;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }
  .profile-drawer__promo-sheet-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .profile-drawer__promo-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(86vh, 720px);
    background: #000;
    border-top: 1px solid #7c6c27;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
    transition: transform 0.24s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }
  .profile-drawer__promo-sheet-overlay.is-open .profile-drawer__promo-sheet {
    transform: translateY(0);
  }
  .profile-drawer__promo-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-top: 10px;
    flex-shrink: 0;
  }
  .profile-drawer__promo-sheet-title {
    margin: 0;
    font-size: 12px;
    line-height: 1.08;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  .profile-drawer__promo-sheet-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .profile-drawer__promo-sheet-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .profile-drawer__promo-sheet-option {
    position: relative;
    width: 100%;
    text-align: left !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    background: #000;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    min-height: 64px;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .profile-drawer__promo-sheet-option--none {
    font-size: 12px;
    font-weight: 700;
    min-height: 56px;
  }
  .profile-drawer__promo-sheet-option.is-selected {
    border-color: #7c6c27;
    box-shadow: inset 0 0 0 1px rgba(249, 217, 78, 0.5);
  }
  .profile-drawer__promo-sheet-option:not(.is-selected)::after {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-left: 0;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    border-radius: 50%;
    border: 1.5px solid #8a8a8a;
    box-sizing: border-box;
  }
  .profile-drawer__promo-sheet-option.is-selected::after {
    content: "\2713";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 0;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    box-sizing: border-box;
  }
  .profile-drawer__promo-sheet-thumb {
    display: none;
  }
  .profile-drawer__promo-sheet-copy,
  .profile-drawer__promo-sheet-label,
  .profile-drawer__promo-sheet-option > span {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    min-width: 0;
    width: 100%;
    text-align: left !important;
  }
  .profile-drawer__promo-sheet-copy {
    display: block;
  }
  .profile-drawer__promo-sheet-copy strong {
    font-size: 9px;
    line-height: 1.22;
    font-weight: 400;
    color: #fff;
  }
  .profile-drawer__promo-sheet-copy span {
    font-size: 9px;
    color: #f9d94e;
    font-weight: 600;
  }
  .profile-drawer__promo-sheet-confirm {
    width: 100%;
    margin: 0;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 35%, #d68910 88%, #c87f0a 100%);
    color: #0b0b0b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.45);
  }
  .profile-drawer__promo-sheet-confirm:active {
    transform: translateY(1px);
  }
}
body.profile-drawer__promo-sheet-open {
  overflow: hidden;
}
.profile-drawer__promo-sheet {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.profile-drawer__promo-sheet::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
@media (min-width: 641px) {
  .profile-drawer__promo-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 100005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.66);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }
  .profile-drawer__promo-sheet-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .profile-drawer__promo-sheet {
    position: relative;
    width: min(640px, calc(100vw - 32px));
    max-height: min(90vh, 720px);
    background: #000;
    border: 1px solid #7c6c27;
    border-radius: 14px;
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px 16px 16px;
    box-sizing: border-box;
  }
  .profile-drawer__promo-sheet-overlay.is-open .profile-drawer__promo-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  .profile-drawer__promo-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-top: 0;
    flex-shrink: 0;
  }
  .profile-drawer__promo-sheet-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    color: #fff;
    font-weight: 800;
  }
  .profile-drawer__promo-sheet-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .profile-drawer__promo-sheet-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0 0 8px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .profile-drawer__promo-sheet-option {
    position: relative;
    width: 100%;
    text-align: left !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    background: #000;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    min-height: 64px;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .profile-drawer__promo-sheet-option--none {
    font-size: 12px;
    font-weight: 700;
    min-height: 56px;
  }
  .profile-drawer__promo-sheet-option.is-selected {
    border-color: #7c6c27;
    box-shadow: inset 0 0 0 1px rgba(249, 217, 78, 0.5);
  }
  .profile-drawer__promo-sheet-option:not(.is-selected)::after {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-left: 0;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    border-radius: 50%;
    border: 1.5px solid #8a8a8a;
    box-sizing: border-box;
  }
  .profile-drawer__promo-sheet-option.is-selected::after {
    content: "\2713";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 0;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    box-sizing: border-box;
  }
  .profile-drawer__promo-sheet-thumb {
    display: none;
  }
  .profile-drawer__promo-sheet-copy,
  .profile-drawer__promo-sheet-label,
  .profile-drawer__promo-sheet-option > span {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    min-width: 0;
    width: 100%;
    text-align: left !important;
  }
  .profile-drawer__promo-sheet-copy {
    display: block;
    flex: none;
  }
  .profile-drawer__promo-sheet-copy strong {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;
    color: #fff;
  }
  .profile-drawer__promo-sheet-copy span {
    font-size: 12px;
    color: #f9d94e;
    font-weight: 600;
  }
  .profile-drawer__promo-sheet-confirm {
    width: 100%;
    margin: 0;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 35%, #d68910 88%, #c87f0a 100%);
    color: #0b0b0b;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.45);
  }
}
.profile-drawer__card {
  background: #151100;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 25px 10px 10px 10px;
  margin-bottom: var(--space-md);
  position: relative;
  overflow: visible;
}
.profile-drawer__card-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}
.profile-drawer__card-handle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.profile-drawer__card::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 24px;
  border-radius: 0 0 14px 14px;
  background: #1f1f1f;
  pointer-events: none;
}
.profile-drawer__card::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  pointer-events: none;
  transition: transform 240ms ease;
  will-change: transform;
}
.profile-drawer__card--stats-open::after {
  transform: translateX(-50%) rotate(-135deg);
}
.profile-drawer__wallet-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.profile-drawer__wallet-left {
  display: flex;
  align-items: center;
  gap: 1px;
}
.profile-drawer__wallet-label {
  font-size: var(--text-13);
  font-weight: 600;
  color: #ddc044;
}
.profile-drawer__icon-btn {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.profile-drawer__icon-btn:hover {
  color: var(--color-accent);
  background: rgba(212, 168, 75, 0.08);
}
.profile-drawer__refresh:disabled {
  cursor: wait;
  opacity: 0.7;
}
.profile-drawer__refresh.is-refreshing img {
  display: block;
  animation: header-wallet-refresh-spin 0.7s linear infinite;
}
.profile-drawer__copy-ico {
  flex-shrink: 0;
  color: var(--color-accent);
}
.profile-drawer__user-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  min-width: 0;
  flex: 0 1 auto;
}
.profile-drawer__username {
  font-size: 0.8rem;
    color: #bebebe;
    text-align: right;
    line-height: var(--line-tight);
    font-weight: 700;
}
.profile-drawer__username strong {
  color: var(--color-text);
  font-weight: 600;
}
.profile-drawer__balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.profile-drawer__balance-main {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.profile-drawer__flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
}
.profile-drawer__balance-val {
  font-size: var(--text-16);
  font-weight: 700;
  color: #ffffff;
}
.profile-drawer__reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #000;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-13);
  font-weight: 600;
  border: none;
}
.profile-drawer__reward-pill:hover {
  color: var(--color-accent);
  border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
}
.profile-drawer__reward-pill img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.profile-drawer__chev-mini {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.75;
}
.profile-drawer__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  pointer-events: none;
  transition: max-height 260ms ease, opacity 200ms ease, transform 260ms ease;
}
.profile-drawer__card--stats-open .profile-drawer__stats {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.profile-drawer__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #201b04;
  border: 1px solid #776722;
  border-radius: var(--radius-md);
  text-decoration: none;
  line-height: var(--line-tight);
}
.profile-drawer__stat:hover {
  text-decoration: none;
}
.profile-drawer__stat-val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  font-size: 12px;
  font-weight: 600;
  color: #f9d94e;
  opacity: 1;
}
.profile-drawer__stat-val::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  flex-shrink: 0;
}
.profile-drawer__vip {
  position: relative;
  margin-bottom: var(--space-md);
  border-radius: 18px;
  overflow: hidden;
  background-color: #1a140c;
  background-image: url("../images/header/profile/vipbg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 88% center;
  border: none;
  box-shadow: none;
}
.profile-drawer__vip--bronze {
  background-color: #1a1108;
  background-image: url("../images/profile/vip/bg.png");
  background-size: 100% 100%;
  background-position: center;
}
.profile-drawer__vip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  min-height: 168px;
  padding: 20px 26px 12px;
  box-sizing: border-box;
}
.profile-drawer__vip-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 52%;
}
.profile-drawer__vip-level {
  margin: 0;
  font-size: var(--text-15);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}
.profile-drawer__vip-tier {
  margin: 4px 0 6px;
  font-size: 2rem;
  font-weight: 800;
  color: #f7d449;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .profile-drawer__vip-tier {
      margin: 2px 0 4px;
      font-size: 26px;
  }
}
.profile-drawer__vip-amount {
  margin: 0;
  font-size: var(--text-15);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
}
.profile-drawer__vip-badge {
  position: absolute;
  right: 72px;
  top: 40%;
  transform: translateY(-50%);
  width: 100px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .profile-drawer__vip-badge {
      right: 72px;
      width: 88px;
      top: 40%;
  }
}
.profile-drawer__vip-text {
  margin: 0;
  max-width: 52%;
  font-size: var(--text-15);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.38;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.profile-drawer__vip-text-sub {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
}
.profile-drawer__vip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 22px;
  background: #5b4a1a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.profile-drawer__vip-btn:hover {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(1.12);
}
.profile-drawer__finance {
  background: #1e1e1e;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}
.profile-drawer__finance-btns {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 8px;
}
.profile-drawer__dep,
.profile-drawer__wd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  min-height: 44px;
  flex: 1 0 0;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #f9d94e;
  background: #262626;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.profile-drawer__fi-ico {
  flex-shrink: 0;
  display: block;
}
.profile-drawer__dep .profile-drawer__fi-ico,
.profile-drawer__wd .profile-drawer__fi-ico {
  filter: brightness(0) invert(1);
  opacity: 0.68;
  width: unset;
}
.profile-drawer__dep,
.profile-drawer__wd {
  color: #d9d9d9;
}
.profile-drawer__dep:hover,
.profile-drawer__wd:hover,
.profile-drawer__dep:active,
.profile-drawer__wd:active {
  border-radius: 10px;
  border: 1px solid #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  text-decoration: none;
  color: #000000;
}
.profile-drawer__dep:hover .profile-drawer__fi-ico,
.profile-drawer__wd:hover .profile-drawer__fi-ico,
.profile-drawer__dep:active .profile-drawer__fi-ico,
.profile-drawer__wd:active .profile-drawer__fi-ico {
  filter: brightness(0);
  opacity: 0.9;
}
.profile-drawer__dep.btn-active,
.profile-drawer__dep[aria-current="page"],
.page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__wd,
.profile-drawer__wd.btn-active,
.profile-drawer__wd[aria-current="page"] {
  border-radius: 10px;
  border: 1px solid #f9d94e;
  background: linear-gradient(180deg, #f9d94e 0%, #c68308 100%);
  color: #000000;
  text-decoration: none;
}
.profile-drawer__dep.btn-active .profile-drawer__fi-ico,
.profile-drawer__dep[aria-current="page"] .profile-drawer__fi-ico,
.page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__wd .profile-drawer__fi-ico,
.profile-drawer__wd.btn-active .profile-drawer__fi-ico,
.profile-drawer__wd[aria-current="page"] .profile-drawer__fi-ico {
  filter: brightness(0);
  opacity: 0.9;
}
.profile-drawer__finance-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.profile-drawer__finance-icons .profile-drawer__fi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-11);
  font-weight: 500;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
}
.profile-drawer__finance-icons .profile-drawer__fi:hover,
.profile-drawer__finance-icons .profile-drawer__fi[aria-current="page"] {
  color: var(--color-accent);
}
.profile-drawer__finance-icons .profile-drawer__fi img {
  display: block;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  opacity: 0.95;
}
.profile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-md);
  padding: 6px 0;
  background: #222222;
  border-radius: 12px;
}
.profile-drawer__nav-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 20px;
  box-sizing: border-box;
  text-decoration: none;
  color: #b0b0b0;
  font-size: var(--text-13);
  font-weight: 500;
  border-radius: 0;
  background: transparent;
  border: none;
}
.profile-drawer__nav-row:hover,
.profile-drawer__nav-row:active,
.profile-drawer__nav-row:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #f9d94e;
}
.profile-drawer__nav-row:focus-visible {
  outline: 2px solid #f9d94e;
  outline-offset: 2px;
}
.profile-drawer__nav-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.profile-drawer__nav-row:hover .profile-drawer__nav-ico,
.profile-drawer__nav-row:active .profile-drawer__nav-ico,
.profile-drawer__nav-row:focus-visible .profile-drawer__nav-ico {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1200%) hue-rotate(359deg) brightness(103%) contrast(99%);
}
.profile-drawer__nav-ico--legacy {
  filter: brightness(0) invert(0.69);
}
.profile-drawer__nav-row:hover .profile-drawer__nav-ico--legacy,
.profile-drawer__nav-row:active .profile-drawer__nav-ico--legacy,
.profile-drawer__nav-row:focus-visible .profile-drawer__nav-ico--legacy {
  filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1200%) hue-rotate(359deg) brightness(103%) contrast(99%);
}
.profile-drawer__nav-row > span:first-of-type {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.profile-drawer__nav-row .profile-drawer__lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-left: auto;
}
.profile-drawer__nav-row .profile-drawer__lang-val {
  flex: 0 0 auto;
  margin-left: 0;
}
.profile-drawer__nav-badge {
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  color: #ffffff;
  background: #ff2f2f;
  border-radius: 999px;
  box-sizing: border-box;
}
.profile-drawer__lang-val {
  font-size: var(--text-13);
  color: #909090;
  margin-right: 4px;
}
.profile-drawer__nav-row:hover .profile-drawer__lang-val,
.profile-drawer__nav-row:active .profile-drawer__lang-val,
.profile-drawer__nav-row:focus-visible .profile-drawer__lang-val {
  color: #f9d94e;
}
.profile-drawer__nav-row:hover .profile-drawer__nav-badge,
.profile-drawer__nav-row:active .profile-drawer__nav-badge,
.profile-drawer__nav-row:focus-visible .profile-drawer__nav-badge {
  color: #f9d94e;
}
.profile-drawer__nav .profile-drawer__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
  flex-shrink: 0;
  opacity: 1;
}
.profile-drawer__nav-row:hover .profile-drawer__chev,
.profile-drawer__nav-row:active .profile-drawer__chev,
.profile-drawer__nav-row:focus-visible .profile-drawer__chev {
  border-color: #f9d94e;
}
.profile-drawer__nav-row[aria-current="page"] {
  background: transparent;
  color: #b0b0b0;
}
.profile-drawer__nav-row[aria-current="page"] .profile-drawer__nav-ico,
.profile-drawer__nav-row[aria-current="page"] .profile-drawer__nav-ico--legacy {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1200%) hue-rotate(359deg) brightness(103%) contrast(99%);
}
.profile-drawer__nav-row[aria-current="page"] > span:first-of-type {
  color: #f9d94e;
}
.profile-drawer__referral {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  padding: 10px;
  margin-bottom: var(--space-md);
  background: linear-gradient(90deg, #111110 0%, #171300 100%);
  border-radius: 14px;
  border: none;
  text-align: left;
  box-sizing: border-box;
}
.profile-drawer__referral-visual {
  flex: 0 0 auto;
  width: 70px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-drawer__referral-gift {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.profile-drawer__referral-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.profile-drawer__referral-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-drawer__referral-title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.7rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
}
.profile-drawer__referral-highlight {
  font-weight: 800;
  color: #ffffff;
}
.profile-drawer__referral-info {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: #9a9a9a;
  color: #151515;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.profile-drawer__referral-info:hover {
  background: #b0b0b0;
  color: #151515;
}
.profile-drawer__referral-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 4px 5px 4px 10px;
  min-height: 38px;
  background: #2b2b2b;
  border-radius: 10px;
  box-sizing: border-box;
}
.profile-drawer__referral-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  font-size: 11px;
  color: #a9a9a9;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-drawer__referral-copy {
  flex-shrink: 0;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: #555555;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.profile-drawer__referral-copy:hover {
  background: #666666;
}
.profile-drawer__amb {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
}
.profile-drawer__amb-viewport {
  flex: 1;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
}
.profile-drawer__amb-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}
.profile-drawer__amb-slide {
  display: block;
  min-width: 0;
  text-decoration: none;
}
.profile-drawer__amb-img {
  display: block;
  width: 100%;
  height: auto;
}
.profile-drawer__amb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #f9d94e;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.profile-drawer__amb-nav--prev {
  left: 8px;
}
.profile-drawer__amb-nav--next {
  right: 8px;
}
.profile-drawer__amb-nav:hover {
  background: transparent;
}
@media (max-width: 640px) {
  .profile-drawer__card,
  .profile-drawer__vip,
  .profile-drawer__finance,
  .profile-drawer__nav,
  .profile-drawer__referral,
  .profile-drawer__amb,
  .profile-drawer__nav.profile-drawer__nav--secondary {
    margin-bottom: 5px;
  }
  .page--profile .deposit-main-profile-drawer-mount .profile-drawer__card {
    margin-bottom: 0;
  }
  .page--profile .deposit-main-profile-drawer-mount .profile-drawer__vip {
    margin-top: 10px;
  }
  .profile-drawer__finance-btns {
    margin-bottom: 5px;
  }
  .profile-drawer__amb-nav--prev { left: 6px; }
  .profile-drawer__amb-nav--next { right: 6px; }
}
.profile-drawer__logout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  margin-top: 0;
  margin-bottom: var(--space-md);
  box-sizing: border-box;
  text-decoration: none;
  color: #b0b0b0;
  font-size: var(--text-13);
  font-weight: 500;
  border-radius: 12px;
  background: #1e1e1e;
  border: none;
}
.profile-drawer__logout:hover,
.profile-drawer__logout:active,
.profile-drawer__logout:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #f9d94e;
}
.profile-drawer__logout:focus-visible {
  outline: 2px solid #f9d94e;
  outline-offset: 2px;
}
.profile-drawer__logout > span:first-of-type {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.profile-drawer__logout .profile-drawer__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
  flex-shrink: 0;
  opacity: 1;
}
.profile-drawer__logout:hover .profile-drawer__chev,
.profile-drawer__logout:active .profile-drawer__chev,
.profile-drawer__logout:focus-visible .profile-drawer__chev {
  border-color: #f9d94e;
}
.profile-drawer__logout-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 1;
  filter: brightness(0) invert(0.69);
}
.profile-drawer__logout:hover .profile-drawer__logout-ico,
.profile-drawer__logout:active .profile-drawer__logout-ico,
.profile-drawer__logout:focus-visible .profile-drawer__logout-ico {
  filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(1200%) hue-rotate(359deg) brightness(103%) contrast(99%);
}

/* Rewards hub (rewards.html drawer main pane) */
.page--rewards .profile-drawer__wallet-label {
  font-size: 16px !important;
}
.page--rewards .profile-drawer__balance-val {
  font-size: 16px !important;
}
.page--rewards .profile-drawer__wallet-top--rewards {
  margin: -10px -10px 0 -10px;
  padding: 14px 20px 12px;
  background: #000000;
  border-radius: 0;
}
.page--rewards .profile-drawer__wallet-top-rewards-img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.page--rewards .profile-drawer__wallet-top-left {
  gap: 10px;
}
.page--rewards .profile-drawer__wallet-control.profile-drawer__rewards-hub {
  margin: 0 -10px -10px -10px;
  padding: 0 10px 14px;
  border-radius: 0 0 10px 10px;
  gap: 0;
}
.profile-drawer__rewards-hub {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}
.profile-drawer__rewards-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0 18px;
  padding: 0 5px;
  border-bottom: 1px solid #1e1e1e;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  flex-shrink: 0;
}
.profile-drawer__rewards-tabs::-webkit-scrollbar {
  height: 4px;
}
.profile-drawer__rewards-tabs::-webkit-scrollbar-thumb {
  background: rgba(249, 217, 78, 0.35);
  border-radius: 4px;
}
.rewards-referral__head {
  display: none;
}
.rewards-referral__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.rewards-referral__back-icon {
  display: block;
  width: 32px;
  height: 32px;
}
.rewards-referral__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.profile-drawer__rewards-tab {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 2px 12px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.profile-drawer__rewards-tab--active {
  color: #f9d94e;
}
.profile-drawer__rewards-tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #f9d94e;
  border-radius: 2px 2px 0 0;
}
.profile-drawer__rewards-tab-label {
  position: relative;
  display: inline-block;
}
.profile-drawer__rewards-tab-badge {
  position: absolute;
  top: -5px;
  right: -12px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.profile-drawer__rewards-panel-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 12px;
  overflow: hidden;
}
.profile-drawer__rewards-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 640px;
}
.profile-drawer__rewards-panel {
  font-size: 14px !important;
}
.profile-drawer__rewards-hub [data-rewards-view][hidden] {
  display: none !important;
  pointer-events: none !important;
}
.profile-drawer__rewards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #c9a22761;
  background: rgba(10, 10, 12, 0.85);
  box-sizing: border-box;
}
.page--rewards .profile-drawer__rewards-list {
  max-width: 460px;
}
.profile-drawer__rewards-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 12px;
  border-radius: 10px;
  background: linear-gradient(to right, #111111, #171300);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}
.profile-drawer__rewards-card-badge {
  position: absolute;
  top: 10px;
  right: 96px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.profile-drawer__rewards-card-ico {
  position: relative;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  overflow: hidden;
  background: #1e1f24;
}
.profile-drawer__rewards-card-ico--asset {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  background: transparent;
}
.profile-drawer__rewards-card-ico--asset img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}
.profile-drawer__rewards-card-ico--wheel {
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #e53935 0deg 51deg,
    #fbc02d 51deg 102deg,
    #43a047 102deg 154deg,
    #1e88e5 154deg 206deg,
    #8e24aa 206deg 257deg,
    #ff7043 257deg 308deg,
    #ec407a 308deg 360deg
  );
  box-shadow: inset 0 0 0 3px #1a1b20;
}
.profile-drawer__rewards-card-ico--wheel::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #141519;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}
.profile-drawer__rewards-card-ico--gift {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: linear-gradient(160deg, #2a2438 0%, #1a1c22 100%);
}
.profile-drawer__rewards-card-ico--gift img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}
.profile-drawer__rewards-card-ico--refer {
  background: radial-gradient(circle at 32% 28%, #fff8e1 0%, #ffca28 35%, #f9a825 58%, #e65100 100%);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}
.profile-drawer__rewards-card-ico--refer::after {
  content: "$";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #3e2723;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.profile-drawer__rewards-card-ico--vip {
  background: #2d1f4a url("images/header/profile/vipbg.svg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(249, 217, 78, 0.25);
}
.profile-drawer__rewards-card-ico--vip::after {
  content: "♔";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: #f9d94e;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.profile-drawer__rewards-card-ico--turnover {
  background: linear-gradient(145deg, #1b5e20 0%, #0d3d12 100%);
}
.profile-drawer__rewards-card-ico--turnover::before,
.profile-drawer__rewards-card-ico--turnover::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  border: 2px solid rgba(249, 217, 78, 0.7);
  background: rgba(0, 0, 0, 0.2);
}
.profile-drawer__rewards-card-ico--turnover::before {
  width: 22px;
  height: 30px;
  left: 8px;
  top: 10px;
  transform: rotate(-8deg);
}
.profile-drawer__rewards-card-ico--turnover::after {
  width: 22px;
  height: 30px;
  right: 6px;
  top: 8px;
  transform: rotate(12deg);
  border-color: rgba(255, 255, 255, 0.35);
}
.profile-drawer__rewards-card-ico--attendance {
  background: linear-gradient(180deg, #eceff1 0%, #cfd8dc 100%);
}
.profile-drawer__rewards-card-ico--attendance::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 14px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #37474f;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 5px,
    rgba(55, 71, 79, 0.35) 5px,
    rgba(55, 71, 79, 0.35) 6px
  );
}
.profile-drawer__rewards-card-ico--attendance::after {
  content: "✓";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #43a047;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.profile-drawer__rewards-card-ico--achievement {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #fffde7 0%, #fbc02d 42%, #c77800 88%);
  box-shadow: inset 0 -3px 6px rgba(183, 110, 0, 0.45);
}
.profile-drawer__rewards-trophy-svg {
  display: block;
  width: 38px;
  height: 38px;
}
.profile-drawer__rewards-card-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: center;
}
.profile-drawer__rewards-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.profile-drawer__rewards-card-sub {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
}
.profile-drawer__rewards-card-sub--accent {
  color: #4ade80;
}
.profile-drawer__rewards-progress {
  width: 100%;
  max-width: 200px;
  height: 6px;
  margin: 4px 0 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.profile-drawer__rewards-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e6b422, #f9d94e);
}
.profile-drawer__rewards-btn {
  flex-shrink: 0;
  min-width: 76px;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  border: none;
  text-decoration: none;
}
.profile-drawer__rewards-btn--primary {
  position: relative;
  background: #f9d94e;
  color: #111;
}
.profile-drawer__rewards-btn--primary .profile-drawer__rewards-card-badge {
  top: -19px;
  right: -11px;
}
.profile-drawer__rewards-btn--primary:hover {
  filter: brightness(1.06);
}
.profile-drawer__rewards-btn--outline {
  background: transparent;
  color: #f9d94e;
  border: 1px solid #f9d94e;
}
.profile-drawer__rewards-btn--outline:hover {
  background: rgba(249, 217, 78, 0.08);
}
.profile-drawer__rewards-panel--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}
.profile-drawer__rewards-panel--vip {
  padding: 0;
}
.rewards-vip {
  max-width: 640px;
  margin: 0;
}
.rewards-vip__hero {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 190px;
  border: none;
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.rewards-vip__hero::before {
  content: none;
}
.rewards-vip__hero-track {
  position: relative;
  min-height: 190px;
  border-radius: 18px;
  background: url("../images/profile/vip/bg-01.png") no-repeat center center;
  background-size: 100% 100%;
  overflow: hidden;
}
.rewards-vip__hero-slide {
  height: 100%;
  min-height: 190px;
  padding: 5px 55px;
}
.rewards-vip__hero-slide--bronze {
  position: relative;
  background: url("../images/profile/vip/bg.png") no-repeat center center;
  background-size: 100% 100%;
}
.rewards-vip__hero-text--bronze {
  max-width: 50%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
}
.rewards-vip__hero-title.rewards-vip__hero-title--bronze {
  margin: 20px 0 6px;
}
.rewards-vip__hero-title--bronze span {
  color: #f7d449;
}
.rewards-vip__hero-subtitle {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px !important;
  line-height: 1.15;
}
.rewards-vip__hero-text--bronze .rewards-vip__hero-btn {
  width: 145px;
  margin-top: auto;
}
.rewards-vip__hero-bronze-img {
  position: absolute;
  right: 138px;
  top: 30px;
  width: 100px;
  height: auto;
  pointer-events: none;
}
.rewards-vip__hero-nav {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(72, 64, 28, 0.72);
  box-shadow: inset 0 0 0 1px rgba(234, 201, 86, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.rewards-vip__hero-nav img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  display: block;
}
.rewards-vip__hero-nav--prev {
  justify-self: start;
}
.rewards-vip__hero-nav--next {
  justify-self: end;
}
.rewards-vip__hero-text {
  position: relative;
  z-index: 1;
  max-width: 68%;
}
.rewards-vip__hero-title {
  margin: 45px 0 45px;
  color: #fff;
  font-size: 16px !important;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.rewards-vip__hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 35px;
  border: none;
  border-radius: 12px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(180deg, #665126 0%, #4f3e1a 100%);
  font-weight: 700;
  font-size: 12px !important;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.rewards-vip__progress {
  margin-top: 12px;
  border: 1px solid #f1cc42;
  border-radius: 12px;
  background: #0b0b0b;
  overflow: hidden;
}
.rewards-vip__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #f1cc42;
  background: linear-gradient(to right, #10100f 0%, #171302 100%);
}
.rewards-vip__progress-title {
  margin: 0;
  color: #fff;
  font-size: 14px !important;
}
.rewards-vip__badge {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #e5c060;
  font-size: 12px !important;
  background:
    linear-gradient(#10100f, #10100f) padding-box,
    linear-gradient(to bottom, #e5c060 0%, #7f5e24 100%) border-box;
  background-clip: padding-box, border-box;
  -webkit-background-clip: padding-box, border-box;
}
.rewards-vip__progress-card {
  padding: 12px;
}
.rewards-vip__level {
  margin: 0 0 8px;
  color: #f1cc42;
  font-weight: 700;
}
.rewards-vip__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.rewards-vip__metric-left {
  flex: 1 1 auto;
  min-width: 0;
}
.rewards-vip__metric-label {
  margin: 0;
  color: #fff;
}
.rewards-vip__metric-value {
  margin: 2px 0 0;
  color: #fff;
}
.rewards-vip__metric-value strong {
  color: #f1cc42;
}
.rewards-vip__metric-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 96px;
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  color: #111;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
  flex-shrink: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 45%, #bf8607 100%);
}
.rewards-vip__bar {
  height: 10px;
  border-radius: 999px;
  background: #2a2a2a;
  margin-top: 6px;
  overflow: hidden;
}
.rewards-vip__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 45%, #bf8607 100%);
}
.rewards-vip__remain {
  margin: 4px 0 10px;
  text-align: right;
  color: #dcdcdc;
}
.rewards-vip__privilege {
  margin-top: 12px;
  border-radius: 14px;
  background: #121317;
  padding: 12px;
}
.rewards-vip__privilege-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.rewards-vip__privilege-title {
  margin: 0;
  color: #fff;
  font-size: 14px !important;
}
.rewards-vip__record-btn {
  height: 34px;
  border: none;
  border-radius: 17px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1f2127;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.rewards-vip-record-modal[hidden] {
  display: none;
}
.rewards-vip-record-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
}
.rewards-vip-record-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.64);
}
.rewards-vip-record-modal__panel {
  position: relative;
  z-index: 1;
  width: min(600px, calc(100vw - 16px));
  margin: 0;
  border: 1px solid #f1cc42;
  border-radius: 14px;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.rewards-vip-record-modal__panel,
.rewards-vip-record-modal__panel * {
  font-size: 12px !important;
}
.rewards-vip-record-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.rewards-vip-record-modal__title {
  margin: 0;
  font-size: 12px !important;
  font-weight: 500;
}
.rewards-vip-record-modal__close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 20px !important;
  line-height: 1;
  cursor: pointer;
}
.rewards-vip-record-modal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.rewards-vip-record-modal__tab {
  height: 48px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #fff;
  font-size: 12px !important;
}
.rewards-vip-record-modal__tab.is-active {
  border-bottom-color: #f1cc42;
}
.rewards-vip-record-modal__body {
  padding: 14px 16px 14px;
}
.rewards-vip-record-modal__field {
  display: block;
}
.rewards-vip-record-modal__field + .rewards-vip-record-modal__field {
  margin-top: 12px;
}
.rewards-vip-record-modal__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px !important;
}
.rewards-vip-record-modal__input-wrap {
  height: 50px;
  padding: 0 16px;
  border-radius: 9px;
  background: #1d1f24;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rewards-vip-record-modal__input-wrap input {
  width: 100%;
  border: none;
  background: transparent;
  color: #9aa1aa;
  font-size: 12px !important;
}
.rewards-vip-record-modal__input-wrap input:focus {
  outline: none;
}
.rewards-vip-record-modal__calendar {
  color: #f1cc42;
  display: inline-flex;
}
.rewards-vip-record-modal__search {
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border-radius: 9px;
  border: 1px solid #f6e087;
  color: #111;
  font-size: 12px !important;
  font-weight: 700;
  background: linear-gradient(180deg, #f6d949 0%, #eec530 45%, #d39a03 100%);
}
.rewards-vip-record-modal__table-wrap {
  margin-top: 16px;
  border-radius: 9px;
  overflow: hidden;
  background: #08090c;
}
.rewards-vip-record-modal__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px !important;
}
.rewards-vip-record-modal__table th {
  height: 60px;
  padding: 0 8px;
  background: #1f2126;
  color: #fff;
  font-size: 12px !important;
  font-weight: 500;
  text-align: center;
}
.rewards-vip-record-modal__table td {
  height: 102px;
  padding: 0 10px;
  color: #fff;
  text-align: center;
  font-size: 12px !important;
}
.rewards-vip-record-modal__empty {
  color: #fff;
}
body.rewards-vip-record-open {
  overflow: hidden;
}
.rewards-daily-bonus-modal[hidden] {
  display: none;
}
.rewards-daily-bonus-modal {
  position: fixed;
  inset: 0;
  z-index: 15080;
  display: grid;
  place-items: center;
}
.rewards-daily-bonus-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.64);
  cursor: pointer;
  touch-action: manipulation;
}
.rewards-daily-bonus-modal__panel {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  width: min(560px, calc(100vw - 16px));
  margin: 0;
  border: 1px solid #f1cc42;
  border-radius: 14px;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.rewards-daily-bonus-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(241, 204, 66, 0.25);
}
.rewards-daily-bonus-modal__header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #f1cc42;
}
.rewards-daily-bonus-modal__close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.rewards-daily-bonus-modal__body {
  padding: 16px;
  max-height: min(70vh, 480px);
  overflow: auto;
}
.rewards-daily-bonus-modal__rules ul,
.rewards-daily-bonus-modal__rules ol {
  margin: 0;
  padding-left: 18px;
}
.rewards-daily-bonus-modal__rules li + li {
  margin-top: 8px;
}
.rewards-daily-bonus-modal__stat {
  margin: 0 0 12px;
}
.rewards-daily-bonus-modal__list {
  margin: 0;
  padding-left: 18px;
}
.rewards-daily-bonus-modal__empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
body.rewards-daily-bonus-modal-open {
  overflow: hidden;
}
.rewards-achievement-history-modal__panel {
  width: min(720px, calc(100vw - 16px));
}
.rewards-achievement-history__table-wrap {
  width: 100%;
  margin: 0;
  border-radius: 9px;
  overflow: auto;
  background: #08090c;
  border: 1px solid rgba(241, 204, 66, 0.2);
}
.rewards-achievement-history__table {
  width: 100% !important;
  min-width: 560px;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  display: table !important;
  font-size: 12px !important;
}
.rewards-achievement-history__table thead {
  display: table-header-group !important;
}
.rewards-achievement-history__table tbody {
  display: table-row-group !important;
}
.rewards-achievement-history__table tr {
  display: table-row !important;
}
.rewards-achievement-history__table th,
.rewards-achievement-history__table td {
  display: table-cell !important;
  padding: 12px 10px !important;
  border-bottom: 1px solid rgba(241, 204, 66, 0.18) !important;
  border-right: 1px solid rgba(241, 204, 66, 0.12) !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap;
  box-sizing: border-box;
}
.rewards-achievement-history__table th:last-child,
.rewards-achievement-history__table td:last-child {
  border-right: none !important;
}
.rewards-achievement-history__table th {
  height: 44px;
  background: #1f2126 !important;
  color: #f1cc42 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}
.rewards-achievement-history__table td {
  color: #fff !important;
  font-size: 12px !important;
  background: #08090c;
}
.rewards-achievement-history__table th:nth-child(1),
.rewards-achievement-history__table td:nth-child(1) {
  width: 56px;
}
.rewards-achievement-history__table th:nth-child(2),
.rewards-achievement-history__table td:nth-child(2) {
  width: 22%;
}
.rewards-achievement-history__table th:nth-child(3),
.rewards-achievement-history__table td:nth-child(3) {
  width: 28%;
}
.rewards-achievement-history__table th:nth-child(4),
.rewards-achievement-history__table td:nth-child(4) {
  width: 18%;
}
.rewards-achievement-history__table th:nth-child(5),
.rewards-achievement-history__table td:nth-child(5) {
  width: 18%;
}
.rewards-achievement-history__empty {
  text-align: center !important;
  color: rgba(255, 255, 255, 0.72) !important;
  white-space: normal !important;
  padding: 28px 12px !important;
}
.rewards-achievement-history__status--0 {
  color: #3dd68c !important;
}
.rewards-achievement-history__status--1 {
  color: #f1cc42 !important;
}
.rewards-achievement-history__status--2 {
  color: #ff6b6b !important;
}
.rewards-vip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.rewards-vip__reward-card {
  border-radius: 10px;
  background: url("../images/profile/vip/bgprivilege.png") no-repeat center center;
  background-size: 100% 100%;
  padding: 10px;
  text-align: center;
}
.rewards-vip__reward-ico {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.rewards-vip__reward-name {
  margin: 6px 0 4px;
  color: #f1cc42;
  font-size: 12px !important;
}
.rewards-vip__reward-value {
  margin: 0 0 8px;
  color: #fff;
}
.rewards-vip__reward-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 30px;
  min-width: 104px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #3d4148;
  background: #17191e;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .rewards-vip__hero {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    min-height: 120px;
  }
  .rewards-vip__hero-track {
    min-height: 120px;
  }
  .rewards-vip__hero-slide {
    min-height: 135px;
    padding: 5px 30px;
  }
  .rewards-vip__hero-text--bronze {
    max-width: 58%;
    min-height: 108px;
  }
  .rewards-vip__hero-title--bronze {
    margin-top: 14px;
    margin-bottom: 4px;
  }
  .rewards-vip__hero-subtitle {
    margin-bottom: 30px;
    font-size: 11px !important;
  }
  .rewards-vip__hero-bronze-img {
    right: 55px;
    top: -7px;
    width: 99px;
  }
  .rewards-vip__hero-nav {
    width: 28px;
    height: 28px;
  }
  .rewards-vip__hero-nav img {
    width: 12px;
    height: 12px;
  }
  .rewards-vip__hero-text {
    max-width: 72%;
  }
  .rewards-vip__hero-title {
    margin: 34px 0;
    font-size: 11px !important;
  }
  .rewards-vip__hero-btn {
    height: 30px;
    padding: 0 12px;
    font-size: 10px !important;
    border-radius: 8px;
  }
  .rewards-vip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rewards-vip-record-modal__panel {
    width: min(640px, calc(100vw - 10px));
    margin: 6px auto;
    border-radius: 14px;
  }
  .rewards-vip-record-modal__header {
    padding: 14px 14px 10px;
  }
  .rewards-vip-record-modal__tab {
    height: 46px;
  }
  .rewards-vip-record-modal__body {
    padding: 12px 10px 14px;
  }
  .rewards-vip-record-modal__label {
    margin-bottom: 8px;
  }
  .rewards-vip-record-modal__input-wrap {
    height: 48px;
  }
  .rewards-vip-record-modal__search {
    height: 46px;
  }
  .rewards-vip-record-modal__table th {
    height: 56px;
  }
  .rewards-vip-record-modal__table td {
    height: 98px;
  }
}
.rewards-turnover {
  padding: 0;
}
.rewards-turnover__top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}
.rewards-turnover__chip {
  height: 34px;
  padding: 0 12px;
  border: none;
  border-radius: 17px;
  background: #1a1c21;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rewards-turnover__chip img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
}
.rewards-turnover__chip span {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}
@media (max-width: 768px) {
  .rewards-turnover__chip {
    height: 32px;
    padding: 0 10px;
    border-radius: 16px;
    gap: 6px;
    font-size: 10px;
  }
  .rewards-turnover__chip img {
    width: 14px;
    height: 14px;
  }
}
.rewards-turnover__summary {
  border: 1px solid rgba(241, 204, 66, 0.55);
  border-radius: 12px;
  background: radial-gradient(120% 120% at 50% 40%, #151200 0%, #090909 70%);
  padding: 14px;
}
.rewards-turnover__summary-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rewards-turnover__summary-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.rewards-turnover__summary-title {
  margin: 0;
  color: #f7db57;
  font-weight: 700;
}
.rewards-turnover__summary-sub {
  margin: 4px 0 0;
  color: #9aa1aa;
}
.rewards-turnover__progress-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  margin-top: 10px;
  align-items: end;
}
.rewards-turnover__ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#f2d54a 0deg 36deg, #5f6974 36deg 360deg);
}
.rewards-turnover__ring span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #11161b;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.rewards-turnover__progress-content {
  flex: 1;
  min-width: 0;
}
.rewards-turnover__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rewards-turnover__progress-label {
  margin: 0;
  color: #d8d8d8;
}
.rewards-turnover__progress-value {
  margin: 2px 0 0;
  color: #fff;
  font-weight: 700;
}
.rewards-turnover__progress-value strong {
  color: #f1cc42;
}
.rewards-turnover__play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 110px;
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  color: #161616;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
  flex-shrink: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #f8d74c 0%, #eec530 45%, #c78509 100%);
}
.rewards-turnover__bar {
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: #5a5c5f;
  overflow: hidden;
}
.rewards-turnover__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(180deg, #f6d949 0%, #eec530 45%, #d39a03 100%);
}
.rewards-turnover__days {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.rewards-turnover__day {
  border: 1px solid rgba(241, 204, 66, 0.45);
  border-radius: 10px;
  background: radial-gradient(130% 130% at 50% 30%, #191400 0%, #090909 72%);
  min-height: 166px;
  padding: 8px 10px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rewards-turnover__day-title {
  margin: 0;
  color: #fff;
  font-weight: 700;
}
.rewards-turnover__day-coin {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: 14px;
}
.rewards-turnover__day-bonus {
  margin: 12px 0 0;
  color: #b9c0c8;
  font-weight: 700;
}
.rewards-turnover__day--active .rewards-turnover__day-bonus {
  color: #f3d54f;
}
.rewards-turnover__day-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: auto;
  height: 34px;
  min-width: 100px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  color: #111;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(180deg, #665126 0%, #4f3e1a 100%);
}
.rewards-turnover__day-btn--claim {
  background: linear-gradient(180deg, #f8d74c 0%, #c78509 100%);
  cursor: pointer;
}
.rewards-turnover__day-btn:disabled {
  cursor: default;
  opacity: 0.85;
}
@media (max-width: 768px) {
  .rewards-turnover__days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .rewards-turnover__summary {
    padding: 12px 10px;
  }
  .rewards-turnover__progress-row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px;
  }
  .rewards-turnover__ring {
    width: 50px;
    height: 50px;
  }
  .rewards-turnover__ring span {
    width: 38px;
    height: 38px;
  }
}
.profile-drawer__rewards-placeholder {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  line-height: 1.45;
}
.rewards-achievement {
  max-width: 650px;
  margin: 0;
  padding: 10px;
}
.rewards-achievement__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.rewards-achievement__head-main {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.rewards-achievement__back {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rewards-achievement__back-icon {
  display: block;
  width: 18px;
  height: 18px;
}
.rewards-achievement__head .rewards-achievement__head-actions {
  flex-shrink: 0;
}
.rewards-achievement__head .rewards-turnover__chip {
  height: 30px;
  padding: 0 10px;
  border-radius: 15px;
  gap: 5px;
  font-size: 10px;
}
.rewards-achievement__head .rewards-turnover__chip img {
  width: 13px;
  height: 13px;
}
.rewards-achievement__title {
  margin: 0;
  color: #fff;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.1;
}
.rewards-achievement__round {
  margin-top: 10px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(180deg, #1f2023 0%, #151619 100%);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rewards-achievement__round-title {
  margin: 0;
  color: #fff;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.1;
}
.rewards-achievement__round-sub {
  margin: 4px 0 0;
  color: #d2d6db;
  font-size: 12px !important;
  font-weight: 500;
}
.rewards-achievement__timer {
  position: relative;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.rewards-achievement__timer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  background: linear-gradient(90deg, #21ce5f 0%, #21ce5f var(--achievement-progress, 50%), #4b4b4b var(--achievement-progress, 50%), #4b4b4b 100%);
}
.rewards-achievement__timer-item {
  position: relative;
  min-width: 82px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: #2a2b2f;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.rewards-achievement__timer-item:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-52%);
  color: #7f8288;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1;
}
.rewards-achievement__timer-item strong {
  display: inline-block;
  color: #fff;
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1;
}
.rewards-achievement__timer-item span {
  display: inline-block;
  margin-top: 0;
  color: #b9bdc3;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
}
.rewards-achievement__list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid #f9d94e;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.rewards-achievement__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  margin: 14px 0 4px;
  padding: 28px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top, rgba(248, 216, 77, 0.08) 0%, rgba(248, 216, 77, 0) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  text-align: center;
}
.rewards-achievement__empty-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.rewards-achievement__empty-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(0.15);
}
.rewards-achievement__empty-title {
  margin: 0;
  color: #f3f4f6;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.rewards-achievement__empty-text {
  margin: 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.55;
}
.rewards-achievement__item {
  border: 1px solid rgb(66 65 58);
  border-radius: 10px;
  background: #13120c;
  min-height: 88px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}
.rewards-achievement__item-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.rewards-achievement__item-body {
  min-width: 0;
}
.rewards-achievement__item-title {
  margin: 0;
  color: #fff;
  font-size: 12px !important;
  font-weight: 700;
  text-align: center;
}
.rewards-achievement__item-title strong {
  color: #f2cc45;
}
.rewards-achievement__progress {
  position: relative;
  margin-top: 8px;
  height: 15px;
  border-radius: 999px;
  background: #1e2026;
  overflow: hidden;
}
.rewards-achievement__progress span {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(0deg, #c68308 50%, #f8d84d 100%);
}
.rewards-achievement__item-value {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #ffffff;
  font-size: 10px !important;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}
.rewards-achievement__item-btn {
  height: 33px;
  min-width: 86px;
  border: none;
  border-radius: 10px;
  background: #f9d94e;
  color: #141414;
  font-size: 12px !important;
  font-weight: 800;
  padding: 0 20px;
  white-space: nowrap;
}
.rewards-achievement__item-btn--claim {
  min-width: 96px;
  background: linear-gradient(180deg, #f8d84d 0%, #c68409 100%);
}
@media (max-width: 768px) {
  .rewards-achievement {
    max-width: none;
    width: 100%;
    padding: 0 6px 8px;
    box-sizing: border-box;
  }
  .rewards-achievement__list {
    margin-top: 12px;
    padding: 8px 6px;
    gap: 8px;
    border-radius: 8px;
  }
  .rewards-achievement__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 -6px 0;
    padding: 10px 0;
    background: #000000;
    box-sizing: border-box;
  }
  .rewards-achievement__head-main {
    flex: 1 1 auto;
    min-width: 0;
    gap: 4px;
  }
  .rewards-achievement__back {
    display: inline-flex;
  }
  .rewards-achievement__title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }
  .rewards-achievement__head .rewards-achievement__head-actions {
    margin-bottom: 0;
    gap: 6px;
  }
  .rewards-achievement__head .rewards-turnover__chip {
    height: 28px;
    padding: 0 8px;
    border-radius: 14px;
    font-size: 9px;
    gap: 4px;
  }
  .rewards-achievement__head .rewards-turnover__chip img {
    width: 12px;
    height: 12px;
  }
  .rewards-achievement__round {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #232428 0%, #16171a 100%);
    flex-wrap: nowrap;
  }
  .rewards-achievement__round > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 4px;
  }
  .rewards-achievement__round-title {
    font-size: 13px !important;
    font-weight: 800;
    line-height: 1.15;
  }
  .rewards-achievement__round-sub {
    margin-top: 4px;
    font-size: 11px !important;
    font-weight: 500;
    color: #9aa1aa;
    line-height: 1.2;
  }
  .rewards-achievement__timer {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    padding-bottom: 10px;
    max-width: 60%;
  }
  .rewards-achievement__timer::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(
      90deg,
      #21ce5f 0%,
      #21ce5f var(--achievement-progress, 58%),
      #3c3f44 var(--achievement-progress, 58%),
      #3c3f44 100%
    );
  }
  .rewards-achievement__timer-item {
    min-width: 0;
    flex: 1 1 0;
    height: 32px;
    margin: 0 3px;
    padding: 0 8px;
    border-radius: 8px;
    gap: 4px;
    background: #2a2b30;
  }
  .rewards-achievement__timer-item:not(:last-child)::after {
    right: -9px;
    font-size: 14px !important;
    color: #fff;
  }
  .rewards-achievement__timer-item strong {
    font-size: 15px !important;
    font-weight: 800;
  }
  .rewards-achievement__timer-item span {
    font-size: 8px !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #b9bdc3;
  }
  .rewards-achievement__item {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    padding: 10px 12px;
    min-height: 0;
    border-radius: 12px;
    border: 1px solid rgba(82, 76, 58, 0.65);
    background:
      radial-gradient(110% 120% at 100% 45%, rgba(190, 155, 55, 0.18) 0%, transparent 52%),
      #13120c;
    box-shadow: inset -8px 0 22px -10px rgba(212, 175, 55, 0.14);
  }
  .rewards-achievement__item-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    justify-self: center;
  }
  .rewards-achievement__item-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
  }
  .rewards-achievement__item-title {
    margin: 0;
    text-align: center;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 1.35;
    padding: 0 4px;
  }
  .rewards-achievement__progress {
    width: 100%;
    max-width: 92%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    height: 12px;
    border-radius: 999px;
    background: #1e2026;
  }
  .rewards-achievement__item-value {
    color: #ffffff;
    font-size: 9px !important;
    font-weight: 700;
    text-shadow: none;
  }
  .rewards-achievement__item-btn {
    justify-self: end;
    align-self: center;
    height: 34px;
    min-width: 76px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 12px !important;
    font-weight: 800;
  }
  .rewards-achievement__item-btn--claim {
    background: linear-gradient(180deg, #f8d84d 0%, #c68409 100%);
    color: #0f0f0f;
  }
  .rewards-achievement__empty-state {
    min-height: 180px;
    padding: 24px 16px;
  }
  .rewards-achievement__empty-title {
    font-size: 15px;
  }
  .rewards-achievement__empty-text {
    font-size: 12px;
  }
}
.deposit-today {
  margin: 0;
  padding: 0 0 10px;
}
.deposit-today__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.deposit-today__filter,
.deposit-today__history {
  height: 34px;
  border: none;
  border-radius: 17px;
  background: #1f2024;
  color: #e5e6ea;
  font-size: 12px !important;
  font-weight: 700;
}
.deposit-today__filter {
  min-width: 160px;
  padding: 0 34px 0 12px;
  position: relative;
  text-align: left;
}
.deposit-today__filter::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #d6d7dc;
  transform: translateY(-30%);
}
.deposit-today__history {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.deposit-today__list {
  display: grid;
  gap: 10px;
}
.deposit-today__card {
  border: 1px solid rgb(111 87 10);
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(90deg, #101215 0%, #0f100c 62%, #1d1706 100%);
}
.deposit-today__card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1e1e1e;
}
.deposit-today__round-title {
  margin: 0;
  color: #fff;
  font-size: 12px !important;
  font-weight: 800;
}
.deposit-today__round-sub {
  margin: 2px 0 0;
  color: #a0a6b0;
  font-size: 10px !important;
}
.deposit-today__timer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 9px;
}
.deposit-today__timer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1fd56c 0%, #1fd56c 52%, #63666d 52%, #63666d 100%);
}
.deposit-today__timer-item {
  position: relative;
  min-width: 44px;
  height: 28px;
  border-radius: 5px;
  background: #3b3b3b;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 6px;
}
.deposit-today__timer-item:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-56%);
  color: #ffffff;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1;
}
.deposit-today__timer-item strong {
  color: #fff;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1;
}
.deposit-today__timer-item span {
  margin-top: 0;
  color: #b6bbc3;
  font-size: 7px !important;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1;
}
.deposit-today__game {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.deposit-today__game-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.deposit-today__game-title {
  margin: 0;
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
}
.deposit-today__game-sub {
  margin: 2px 0 0;
  color: #d0a530;
  font-size: 10px !important;
  font-weight: 600;
}
.deposit-today__rules {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: #d7d9de;
  font-size: 12px !important;
  font-weight: 700;
}
.deposit-today__rules-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b8b8b8;
  color: #1a1a1a;
  font-size: 11px !important;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1px;
}
.deposit-today__total {
  margin-top: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px;
}
.deposit-today__total-label,
.deposit-today__total-value {
  margin: 0;
  color: #d7d9de;
  font-size: 12px !important;
  white-space: nowrap;
}
.deposit-today__total-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.deposit-today__total-label::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  background: url("../images/icon/CheckCircle.png") no-repeat center / contain;
}
.deposit-today__total-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #2d3138;
  overflow: hidden;
}
.deposit-today__total-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(180deg, #f8d84d 0%, #c68409 100%);
}
.deposit-today__total-bar .deposit-today__total-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #d7d9de;
  font-size: 10px !important;
  line-height: 1;
  pointer-events: none;
}
.deposit-today__steps {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 8px;
}
.deposit-today__nav {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #40391c;
  color: #f9d94e;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.deposit-today__nav img {
  width: 12px;
  height: 12px;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(84%) sepia(60%) saturate(858%) hue-rotate(357deg) brightness(105%) contrast(95%);
}
.deposit-today__steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.deposit-today__steps ol::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: #f2cd44;
  border-radius: 999px;
}
.deposit-today__steps li {
  position: relative;
  z-index: 1;
  min-width: 32px;
  height: 28px;
  margin: 0;
  padding: 0 8px;
  border-radius: 9px;
  background: linear-gradient(180deg, #f6d44d 0%, #d7a61b 100%);
  color: #131313;
  font-size: 14px !important;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.deposit-today__steps li.is-done {
  background: #d8d8d8;
}
.deposit-today__steps li.is-done::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 20px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #f2cd44;
}
.deposit-today__bottom {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.deposit-today__bottom p {
  margin: 0;
  color: #fff;
  font-size: 16px !important;
  font-weight: 700;
}
.deposit-today__claim {
  height: 30px;
  min-width: 82px;
  border: none;
  border-radius: 8px;
  background: #3b3b3b;
  color: #fff;
  font-size: 12px !important;
  font-weight: 700;
}
@media (max-width: 768px) {
  .deposit-today {
    padding: 0 0 8px;
  }
  .deposit-today__topbar {
    margin: 5px auto;
  }
  .deposit-today__filter {
    min-width: 160px;
  }
  .deposit-today__card {
    border-radius: 10px;
    padding: 8px;
  }
  .deposit-today__card-head {
    padding: 8px;
  }
  .deposit-today__timer-item {
    min-width: 42px;
    height: 27px;
    padding: 0 5px;
  }
  .deposit-today__timer-item strong {
    font-size: 15px !important;
  }
  .deposit-today__bottom p {
    font-size: 16px !important;
  }
}
.total-refer-count {
  margin: 0;
  padding: 10px;
  color: #fff;
}
.total-refer-count__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.total-refer-count__head-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
}
.total-refer-count__back {
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
}
.total-refer-count__back-icon {
  width: 18px;
  height: 18px;
}
.total-refer-count__title {
  margin: 0;
  font-size: 12px !important;
  font-weight: 800;
}
.total-refer-count__head-actions {
  gap: 6px;
}
.total-refer-count__share-card,
.total-refer-count__deposit,
.deposit_withdraw,
.total-refer-count__tabs,
.total-refer-count__rule-card {
  border: 1px solid rgba(111, 96, 38, 0.75);
  border-radius: 10px;
  background: linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
}
.deposit_withdraw {
  margin-top: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-color: rgb(66 58 22);
  border-radius: 12px;
  background: linear-gradient(180deg, #17160f 0%, #0f0f0f 100%);
  box-shadow: inset 0 0 0 1px rgba(241, 198, 67, 0.08);
}
.deposit_withdraw__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.total-refer-count__share-card {
  padding: 10px 10px 8px;
  border-color: rgb(66 58 22);
  border-radius: 12px;
  background: linear-gradient(180deg, #17160f 0%, #0f0f0f 100%);
  box-shadow: inset 0 0 0 1px rgba(241, 198, 67, 0.08);
}
.total-refer-count__share-top {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.total-refer-count__qr-wrap {
  width: 92px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f6da58 0%, #cea00f 100%);
  padding: 6px 6px 5px;
}
.total-refer-count__qr {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.total-refer-count__save-btn {
  display: block;
  margin-top: 5px;
  color: #1a1a1a;
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}
.total-refer-count__link-side {
  flex: 1;
  min-width: 0;
}
.total-refer-count__link-title {
  margin: 0 0 6px;
  color: #e2c14d;
  font-size: 12px !important;
  font-weight: 700;
}
.total-refer-count__link-row {
  display: flex;
  gap: 8px;
}
.total-refer-count__link-input-wrap {
  position: relative;
  flex: 1;
}
.total-refer-count__link-input {
  width: 100%;
  height: 37px;
  border: 1px solid #4b4b4b;
  border-radius: 11px;
  background: #0b0d10;
  color: #fff;
  padding: 0 34px 0 14px;
  font-size: 14px !important;
  font-weight: 700;
  text-align: center;
}
.total-refer-count__link-caret {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.total-refer-count__copy-btn {
  width: 37px;
  height: 37px;
  border: 1px solid #3b3b3b;
  border-radius: 11px;
  background: #0b0d10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.total-refer-count__socials {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
}
.total-refer-count__social {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  font-size: 11px !important;
  line-height: 1.1;
}
.total-refer-count__social img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.total-refer-count__social span {
  display: block;
  white-space: nowrap;
}
.total-refer-count__social .icon-share {
  width: 35px;
  height: 35px;
}
.total-refer-count__social .icon-share img {
  width: 15px;
  height: 15px;
}
.total-refer-count__deposit {
  margin-top: 10px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.total-refer-count__deposit-progress {
  --dw-progress: 10;
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #f8d84d 0deg calc(var(--dw-progress) * 3.6deg),
    #3a3a3a calc(var(--dw-progress) * 3.6deg) 360deg
  );
  font-size: 11px !important;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.total-refer-count__deposit-progress::before {
  content: "";
  grid-area: 1 / 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #17160f;
}
.total-refer-count__deposit-progress span {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
}
.total-refer-count__deposit-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.total-refer-count__deposit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.total-refer-count__deposit-copy {
  flex: 1;
  min-width: 0;
}
.total-refer-count__deposit-title {
  margin: 0;
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.2;
}
.total-refer-count__deposit-value {
  margin: 4px 0 0;
  color: #fff;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.2;
}
.total-refer-count__deposit-value strong {
  color: #f8d84d;
  font-weight: 700;
}
.total-refer-count__bar {
  height: 7px;
  border-radius: 999px;
  background: #2d3138;
  overflow: hidden;
}
.total-refer-count__bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(0deg, #c68308 50%, #f8d84d 100%);
}
.total-refer-count__deposit-btn {
  flex-shrink: 0;
  height: 36px;
  min-width: 94px;
  padding: 0 16px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(180deg, #f8d84d 0%, #c68409 100%);
  color: #141414;
  font-size: 13px !important;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.total-refer-count__tabs {
  margin-top: 10px;
  padding: 0 14px;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgb(66 58 22);
  border-radius: 10px;
  background: linear-gradient(180deg, #17160f 0%, #0f0f0f 100%);
}
.total-refer-count__tab {
  flex: 0 0 auto;
  min-height: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 12px !important;
  font-weight: 600;
  padding: 0;
  line-height: 1;
}
.total-refer-count__tab strong {
  margin-left: 6px;
  color: #f8d84d;
}
.total-refer-count__tab--active {
  color: #fff;
}
.total-refer-count__tab--details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #f8d84d;
}
.total-refer-count__tab--details img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.total-refer-count__rule-card {
  margin-top: 10px;
  padding: 14px 12px 12px;
  text-align: center;
  border: 1px solid rgb(66 58 22);
  border-radius: 12px;
  background: linear-gradient(90deg, #111317 0%, #0f100c 62%, #1d1706 100%);
}
.total-refer-count__rule-card p {
  margin: 0;
  color: #ffffff;
  font-size: 12px !important;
  line-height: 1.25;
}
.total-refer-count__rule-card p + p {
  margin-top: 10px;
  font-size: 12px !important;
}
.total-refer-count__rule-card strong {
  color: #f4cf49;
  font-weight: 700;
}
.total-refer-count__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 4px;
}
.total-refer-count__item {
  position: relative;
  text-align: center;
}
.total-refer-count__item:not(:nth-child(5n))::after {
  content: "\00BB";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-40%);
  color: #ffffff;
  font-size: 25px !important;
  font-weight: 50;
  line-height: 1;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.total-refer-count__item-label {
  position: absolute;
  top: 10px;
  left: 20px;
  margin: 0 0 3px;
  color: #f4cf49;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.05;
  text-shadow:
    -1px 0 0 rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(0, 0, 0, 0.85),
    1px 0 0 rgba(0, 0, 0, 0.85),
    0 -1px 0 rgba(0, 0, 0, 0.85);
}
.total-refer-count__item-icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.total-refer-count__item-value {
  margin: 4px 0 0;
  color: #fff;
  font-size: 12px !important;
  font-weight: 700;
}
@media (max-width: 768px) {
  .total-refer-count {
    padding: 0 6px 10px;
  }
  .total-refer-count__head {
    margin: 0 -6px 10px;
    padding: 10px 0;
  }
  .total-refer-count__back {
    display: inline-flex;
  }
  .total-refer-count__head .rewards-turnover__chip {
    height: 32px;
    padding: 0 10px;
    border-radius: 16px;
    font-size: 12px !important;
    gap: 6px;
  }
  .total-refer-count__head .rewards-turnover__chip img {
    width: 14px;
    height: 14px;
  }
  .total-refer-count__socials {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .total-refer-count__socials::-webkit-scrollbar {
    display: none;
  }
  .total-refer-count__social {
    min-width: 48px;
    font-size: 8px !important;
  }
  .total-refer-count__link-input {
    height: 34px;
    font-size: 12px !important;
    text-align: left;
  }
  .total-refer-count__copy-btn {
    width: 34px;
    height: 34px;
  }
  .total-refer-count__social img,
  .total-refer-count__social .icon-share {
    width: 22px;
    height: 22px;
  }
  .total-refer-count__social .icon-share img {
    width: 15px;
    height: 15px;
  }
  .total-refer-count__tab {
    font-size: 10px !important;
  }
  .total-refer-count__rule-card p {
    font-size: 12px !important;
  }
  .total-refer-count__rule-card p + p {
    margin-top: 8px;
    font-size: 12px !important;
  }
  .deposit_withdraw {
    padding: 10px 12px;
    gap: 10px;
  }
  .deposit_withdraw__row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px;
  }
  .deposit_withdraw .total-refer-count__deposit-progress {
    width: 50px;
    height: 50px;
  }
  .deposit_withdraw .total-refer-count__deposit-progress::before {
    width: 36px;
    height: 36px;
  }
  .deposit_withdraw .total-refer-count__deposit-progress span {
    font-size: 10px !important;
  }
  .deposit_withdraw .total-refer-count__deposit-title {
    font-size: 13px !important;
  }
  .deposit_withdraw .total-refer-count__deposit-value {
    margin: 3px 0 0;
    font-size: 11px !important;
  }
  .deposit_withdraw .total-refer-count__deposit-head {
    gap: 8px;
  }
  .deposit_withdraw .total-refer-count__bar {
    height: 12px;
  }
  .deposit_withdraw .total-refer-count__deposit-btn {
    min-width: 82px;
    height: 28px;
    padding: 0 12px;
    font-size: 12px !important;
  }
  .total-refer-count__item-icon {
    width: 55px;
    height: 55px;
  }
  .total-refer-count__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 4px;
    row-gap: 28px;
  }
  .total-refer-count__item::before,
  .total-refer-count__item::after {
    position: absolute;
    color: #ffffff;
    font-size: 25px !important;
    font-weight: 50;
    line-height: 1;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
    pointer-events: none;
  }
  .total-refer-count__item::before {
    content: none;
  }
  .total-refer-count__item::after {
    content: none;
  }
  .total-refer-count__item:not(:nth-child(5n))::after {
    content: none;
  }
  .total-refer-count__item:nth-child(8n + 1):not(:last-child)::after,
  .total-refer-count__item:nth-child(8n + 2):not(:last-child)::after,
  .total-refer-count__item:nth-child(8n + 3):not(:last-child)::after {
    content: "\00BB";
    right: -8px;
    top: 38%;
    transform: translateY(-40%);
  }
  .total-refer-count__item:nth-child(8n + 6):not(:last-child)::after,
  .total-refer-count__item:nth-child(8n + 7):not(:last-child)::after,
  .total-refer-count__item:nth-child(8n + 8):not(:last-child)::after {
    content: "\00AB";
    left: -8px;
    right: auto;
    top: 38%;
    transform: translateY(-40%);
  }
  .total-refer-count__item:nth-child(8n + 4):not(:last-child)::before,
  .total-refer-count__item:nth-child(8n + 5):not(:last-child)::before {
    content: "\00BB";
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%) rotate(90deg);
  }
  .total-refer-count__item:nth-child(8n + 5):not(:last-child)::before {
    left: 52%;
  }
  .total-refer-count__item-label,
  .total-refer-count__item-value {
    font-size: 10px !important;
  }
}
.profile-drawer__point-gifts {
  padding: 0;
}
.point-gifts {
  max-width: 640px;
  margin: 0;
}
.point-gifts__head {
  display: none;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.page--rewards .point-gifts__head {
  display: flex;
}
@media (max-width: 768px) {
  .point-gifts__head {
    display: flex;
  }
}
.point-gifts__history {
  height: 34px;
  border-radius: 17px;
  border: none;
  background: #191a1f;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}
.point-gifts__notice {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #191a1f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.point-gifts__history img,
.point-gifts__notice img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.point-gifts__hero {
  position: relative;
  border: none;
  border-radius: 0;
  background: url("../images/profile/point_gifts/bg.png") no-repeat center center;
  background-size: 100% 100%;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.point-gifts__hero-text {
  position: relative;
  z-index: 1;
}
.point-gifts__hero-label {
  margin: 0 0 6px;
  font-size: 20px !important;
  color: #fff;
  font-weight: 700;
}
.point-gifts__hero-value {
  margin: 0;
  font-size: 33px !important;
  color: #fff;
  font-weight: 700;
}
.point-gifts__hero-value strong {
  color: #f4d145;
  font-size: 35px !important;
}
.point-gifts__hero-coin {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  object-fit: contain;
}
.point-gifts__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.point-gifts__tab {
  height: 44px;
  border-radius: 22px;
  border: 1px solid #f1cc42;
  background: #0f1014;
  color: #fff;
  font-weight: 700;
}
.point-gifts__tab.is-active {
  color: #111;
  border: none;
  background: linear-gradient(180deg, #f6d54c 0%, #f1c40f 45%, #bf8607 100%);
}
.point-gifts__panel {
  margin-top: 12px;
}
.point-gifts__section-title {
  margin: 0 0 10px;
  font-size: 14px !important;
  color: #fff;
}
.point-gifts__list {
  display: grid;
  gap: 10px;
}
.point-gifts__item {
  border-radius: 14px;
  border: 1px solid #f1cc42;
  background: #0d0d0d;
  display: grid;
  grid-template-columns: 58px 1fr 16px;
  gap: 12px;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
}
.point-gifts__item-thumb {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.point-gifts__item-name {
  margin: 0;
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
}
.point-gifts__item-points {
  margin: 2px 0 0;
  color: #f0cf4a;
  font-size: 12px !important;
  font-weight: 700;
}
.point-gifts__item-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  flex-shrink: 0;
  font-size: 0 !important;
  line-height: 0;
}
.point-gifts__view-all {
  width: 100%;
  margin-top: 12px;
  padding: 15px 0;
  border: 1px solid #f9d94e;
  border-radius: 12px;
  color: #111;
  font-size: 14px !important;
  font-weight: 700;
  background: linear-gradient(180deg, #f9d94e 0%, #c7850a 100%);
}
.point-gifts-terms {
  border: 1px solid #38404a;
  border-radius: 14px;
  background: #1a1b1f;
  overflow: hidden;
}
.point-gifts-terms__table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}
.point-gifts-terms__table th,
.point-gifts-terms__table td {
  border: 1px solid #38404a;
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
  font-size: 12px !important;
}
.point-gifts-terms__table th:nth-child(2),
.point-gifts-terms__table tbody td:nth-last-child(3) {
  text-align: center !important;
}
.point-gifts-terms__table th {
  color: #f2ce47;
  font-weight: 700;
  background: rgba(242, 206, 71, 0.08);
}
.point-gifts-terms__table td:first-child {
  text-align: left;
  min-width: 170px;
  white-space: nowrap;
}
.point-gifts-terms__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}
.point-gifts__bind-empty {
  border: 1px solid #38404a;
  border-radius: 12px;
  background: #1a1b1f;
  padding: 16px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}
.point-gifts-bind__new-btn {
  min-width: 124px;
  height: 40px;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  background: #1e2025;
  color: #fff;
  font-size: 12px !important;
  font-weight: 700;
}
.point-gifts-bind__table-wrap {
  margin-top: 12px;
  border: none;
  background: #0f1014;
  overflow-x: auto;
}
.point-gifts-bind__table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  color: #fff;
  table-layout: auto;
}
.point-gifts-bind__table th,
.point-gifts-bind__table td {
  border: none;
  padding: 10px 4px;
  white-space: nowrap;
  font-size: 10px !important;
  text-align: center;
  vertical-align: middle;
}
.point-gifts-bind__table th {
  background: #1a1c21;
  font-weight: 600;
  color: #fff;
}
.point-gifts-bind__table td:nth-child(2),
.point-gifts-bind__table td:nth-child(3),
.point-gifts-bind__table td:nth-child(4),
.point-gifts-bind__table td:nth-child(5),
.point-gifts-bind__table td:nth-child(6) {
  text-align: left;
}
.point-gifts-bind__check {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.point-gifts-bind__actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.point-gifts-bind__default-btn {
  height: 22px;
  border: none;
  border-radius: 7px;
  padding: 0 9px;
  color: #fff;
  font-size: 10px !important;
  font-weight: 700;
  background: linear-gradient(180deg, #f6d54c 0%, #d19f18 100%);
}
.point-gifts-bind__icon-btn {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 6px;
  background: #d8893a;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.point-gifts-bind__icon-btn img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}
.point-gifts__history {
  font-family: inherit;
}
.point-gifts-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}
.point-gifts-history[hidden] {
  display: none !important;
}
.point-gifts__main-view[hidden] {
  display: none !important;
}
.point-gifts__head[hidden] {
  display: none !important;
}
.point-gifts-history__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.point-gifts-history__back {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: #191a1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.point-gifts-history__back img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.point-gifts-history__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.point-gifts-history__filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.point-gifts-history__filter-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.point-gifts-history__label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #d4d4d4;
}
.point-gifts-history__date-wrap,
.point-gifts-history__text-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid rgba(249, 217, 78, 0.35);
  background: #0a0a0a;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
}
.point-gifts-history__date-wrap {
  padding: 2px 10px;
}
.point-gifts-history__date-input {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  padding: 10px 0;
}
.point-gifts-history__date-input:focus {
  outline: none;
}
.point-gifts-history__text-input {
  padding: 10px 12px;
}
.point-gifts-history__text-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(249, 217, 78, 0.2);
}
.point-gifts-history__quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.point-gifts-history__quick-btn,
.point-gifts-history__page-btn {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(249, 217, 78, 0.35);
  border-radius: 8px;
  background: #1a1a1a;
  color: #f5d67b;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.point-gifts-history__quick-btn:hover,
.point-gifts-history__page-btn:hover {
  background: #252525;
  border-color: #f5d67b;
}
.point-gifts-history__loading {
  min-height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, #f5d67b, transparent);
  background-size: 200% 100%;
  animation: point-gifts-history-loading 1s linear infinite;
}
.point-gifts-history__loading[hidden] {
  display: none;
}
@keyframes point-gifts-history-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.point-gifts-history__table-wrap {
  margin-top: 4px;
  border: 1px solid #272727;
  border-radius: 10px;
  background: #0c0c0e;
  overflow-x: auto;
  scrollbar-width: thin;
}
.point-gifts-history__table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: #ececec;
  font-size: 12px;
}
.point-gifts-history__table th,
.point-gifts-history__table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #242424;
  white-space: nowrap;
}
.point-gifts-history__table th {
  font-weight: 500;
  color: #f2f2f2;
  background: #1d1e22;
}
.point-gifts-history__empty {
  padding: 24px 12px !important;
  text-align: center;
  color: #7d8087;
}
.point-gifts-history__status--1 {
  color: #f5d67b;
}
.point-gifts-history__status--2 {
  color: #7dd87d;
}
.point-gifts-history__pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.point-gifts-history__page-meta {
  margin: 0;
  font-size: 11px;
  color: #a3a3a3;
}
.point-gifts-history__page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.point-gifts-history__jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.point-gifts-history__jump-input {
  width: 44px;
  height: 32px;
  border: 1px solid rgba(249, 217, 78, 0.35);
  border-radius: 6px;
  background: #0a0a0a;
  color: #fff;
  font-size: 12px;
  text-align: center;
  font-family: inherit;
}
@media (max-width: 768px) {
  .point-gifts-history__table {
    min-width: 860px;
    font-size: 11px;
  }
  .point-gifts-history__quick-btn,
  .point-gifts-history__page-btn {
    font-size: 10px;
    padding: 0 10px;
  }
}
.point-gifts-popup {
  position: fixed;
  inset: 0;
  z-index: 15050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
  overflow: hidden;
}
.point-gifts-popup[hidden] {
  display: none;
}
.point-gifts-popup__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
  cursor: pointer;
  touch-action: manipulation;
}
.point-gifts-popup.is-open .point-gifts-popup__backdrop {
  pointer-events: auto;
}
.point-gifts-popup__panel {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  width: min(880px, calc(100vw - 20px));
  height: calc(100dvh - 28px);
  max-height: calc(100dvh - 28px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f1cc42;
  border-radius: 10px;
  background: #070707;
  padding: 12px 14px 16px;
  box-sizing: border-box;
}
.point-gifts-popup__head {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.point-gifts-popup__title {
  margin: 0;
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
}
.point-gifts-popup__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.point-gifts-popup__back img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}
.point-gifts-popup__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.point-gifts-popup__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.point-gifts-popup__body::-webkit-scrollbar {
  width: 8px;
}
.point-gifts-popup__body::-webkit-scrollbar-thumb {
  background: #5a5a5a;
  border-radius: 999px;
}
.point-gifts-popup__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #4a3f1a;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, #1a1508 0%, #0a0a0a 72%);
  padding: 20px 12px 16px;
  text-align: center;
  overflow: hidden;
}
.point-gifts-popup__badge {
  position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1;
    padding: 10px 20px;
    border-radius: 0px 0px 0px 15px;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.point-gifts-popup__badge--stock {
  background: #5a2a22;
  color: #fff;
}
.point-gifts-popup__badge--available {
  background: #1e3a1a;
  color: #9fd49f;
}
.point-gifts-popup__thumb {
  width: 104px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 8px auto 10px;
}
.point-gifts-popup__name {
  margin: 0 0 5px;
  color: #fff;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.25;
}
.point-gifts-popup__points {
  margin: 0 0 14px;
  color: #fcd535;
  font-size: 12px !important;
  font-weight: 500;
}
.point-gifts-popup__btn {
  min-width: 112px;
  height: 34px;
  padding: 0 25px;
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 12px !important;
  font-weight: 700;
  cursor: pointer;
  background: #fcd535;
}
.bind-address-popup {
  position: fixed;
  inset: 0;
  z-index: 15075;
  display: grid;
  place-items: center;
  padding: 14px;
}
.bind-address-popup[hidden] {
  display: none;
}
.bind-address-popup__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.84);
  pointer-events: none;
  cursor: pointer;
  touch-action: manipulation;
}
.bind-address-popup.is-open .bind-address-popup__backdrop {
  pointer-events: auto;
}
.bind-address-popup__panel {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  width: min(760px, calc(100vw - 20px));
  border: 1px solid #f1cc42;
  border-radius: 20px;
  background: #050506;
  padding: 14px;
}
.bind-address-popup__head {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.bind-address-popup__title {
  margin: 0;
  color: #fff;
  font-size: 16px !important;
  font-weight: 700;
}
.bind-address-popup__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.bind-address-popup__back img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}
.bind-address-popup__form {
  display: grid;
  gap: 10px;
}
.bind-address-popup__field {
  display: grid;
  gap: 6px;
}
.bind-address-popup__field > span {
  color: #fff;
  font-size: 14px !important;
  font-weight: 600;
}
.bind-address-popup__field input,
.bind-address-popup__select-trigger {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 11px;
  background: #1b1d22;
  color: #fff;
  padding: 0 16px;
  font-size: 13px !important;
  outline: none;
}
.bind-address-popup__field input::placeholder {
  color: #8f949c;
}
.bind-address-popup__field--select {
  position: relative;
}
.bind-address-popup__select-trigger {
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.bind-address-popup__select-trigger span {
  color: #8f949c;
}
.bind-address-popup__select-trigger.is-selected span {
  color: #fff;
}
.bind-address-popup__field--select::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  pointer-events: none;
}
.bind-address-popup__field--select.is-open::after {
  transform: rotate(-135deg);
  bottom: 16px;
}
.bind-address-popup__select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  border: 1px solid #808793;
  border-radius: 10px;
  background: #1b1d22;
  overflow: hidden;
  z-index: 5;
}
.bind-address-popup__select-option {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #fff;
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 13px !important;
}
.bind-address-popup__select-option:first-child {
  border-top: none;
}
.bind-address-popup__select-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.bind-address-popup__select-icon--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #29c655;
  color: #fff;
  font-size: 12px !important;
  font-weight: 700;
}
.bind-address-popup__actions {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bind-address-popup__btn {
  height: 44px;
  border: none;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 14px !important;
  font-weight: 700;
}
.bind-address-popup__btn--cancel {
  background: #4a4d52;
  color: #fff;
}
.bind-address-popup__btn--submit {
  background: linear-gradient(180deg, #f6d54c 0%, #d8ab1f 100%);
  color: #111;
}
body.point-gifts-popup-open {
  overflow: hidden;
}
.exchange-gift-popup {
  position: fixed;
  inset: 0;
  z-index: 15100;
  display: grid;
  place-items: center;
  padding: 14px;
}
.exchange-gift-popup[hidden] {
  display: none;
}
.exchange-gift-popup__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.8);
  pointer-events: none;
  cursor: pointer;
  touch-action: manipulation;
}
.exchange-gift-popup.is-open .exchange-gift-popup__backdrop {
  pointer-events: auto;
}
.exchange-gift-popup__panel {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  width: min(760px, calc(100vw - 20px));
  border: 1px solid #f1cc42;
  border-radius: 22px;
  background: #080808;
  padding: 12px 14px 14px;
}
.exchange-gift-popup__head {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.exchange-gift-popup__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.exchange-gift-popup__back img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}
.exchange-gift-popup__title {
  margin: 0;
  color: #fff;
  font-size: 16px !important;
  font-weight: 600;
}
.exchange-gift-popup__close {
  border: none;
  background: transparent;
  color: #fff;
  width: 34px;
  height: 34px;
  font-size: 44px !important;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.exchange-gift-popup__summary {
  min-height: 128px;
  border: 1px solid #3e350a;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: radial-gradient(circle at 30% 10%, rgba(255, 220, 94, 0.2) 0%, rgba(20, 20, 20, 0.96) 48%, #0b0b0b 100%);
}
.exchange-gift-popup__summary-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.1;
}
.exchange-gift-popup__summary-title strong {
  color: #f7d54e;
}
.exchange-gift-popup__summary-text {
  margin: 0;
  color: #9ea4ab;
  font-size: 14px !important;
  font-weight: 500;
}
.exchange-gift-popup__coin {
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.exchange-gift-popup__body {
  margin-top: 12px;
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background: linear-gradient(180deg, #1b1d20 0%, #101113 100%);
  padding: 14px;
}
.exchange-gift-popup__gift {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.exchange-gift-popup__thumb {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 8px;
}
.exchange-gift-popup__gift-meta {
  flex: 1;
}
.exchange-gift-popup__gift-name {
  margin: 0;
  color: #fff;
  font-size: 16px !important;
  font-weight: 700;
}
.exchange-gift-popup__gift-points {
  margin: 4px 0 8px;
  color: #f7d54e;
  font-size: 14px !important;
  font-weight: 700;
}
.exchange-gift-popup__stock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  max-width: 200px;
}
.exchange-gift-popup__stock-label {
  color: #fff;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.2;
}
.exchange-gift-popup__stock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 20px;
  border-radius: 999px;
  background: #1e3a1a;
  color: #9fd49f;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.2;
}
.exchange-gift-popup__qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.exchange-gift-popup__qty-btn,
.exchange-gift-popup__qty-value {
  min-width: 44px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  font-weight: 700;
}
.exchange-gift-popup__qty-btn {
  border: 1px solid #353535;
  color: #f7d54e;
  background: #23262b;
}
.exchange-gift-popup__qty-value {
  min-width: 96px;
  border: 1px solid #3b3b3b;
  color: #fff;
  background: #2b2d30;
}
.exchange-gift-popup__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #2f2f2f;
}
.exchange-gift-popup__total-label {
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.2;
}
.exchange-gift-popup__total-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.exchange-gift-popup__total-coin {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.exchange-gift-popup__total-points {
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.2;
}
.exchange-gift-popup__rules-title {
  margin: 16px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.1;
}
.exchange-gift-popup__rules-title span.line-left {
  flex: 1;
  min-width: 120px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(158, 126, 24, 0) 0%, #9e7e18 18%, #d2b041 50%, #9e7e18 82%, rgb(158 126 24) 100%);
  opacity: 0.95;
}
.exchange-gift-popup__rules-title span.line-right {
  flex: 1;
  min-width: 120px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgb(158 126 24) 0%, #9e7e18 18%, #d2b04173 50%, #9e7e182b 82%, rgba(158, 126, 24, 0) 100%);
  opacity: 0.95;
}
.exchange-gift-popup__rules {
  margin: 0;
  padding-left: 20px;
  color: #fff;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.35;
}
.exchange-gift-popup__submit {
  width: 100%;
  margin-top: 12px;
  height: 48px;
  border: none;
  border-radius: 12px;
  color: #111;
  font-size: 14px !important;
  font-weight: 800;
  background: linear-gradient(180deg, #f4d03f 0%, #f1c40f 45%, #bf8607 100%);
}
.exchange-gift-popup__submit:disabled {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
}
@media (max-width: 768px) {
  .point-gifts__hero {
    min-height: 108px;
    padding: 50px 30px;
  }
  .point-gifts__hero-label {
    font-size: 22px !important;
  }
  .point-gifts__hero-value {
    font-size: 25px !important;
  }
  .point-gifts__hero-value strong {
    font-size: 25px !important;
  }
  .point-gifts__hero-coin {
    width: 96px;
    height: 96px;
  }
  .point-gifts__tab {
    height: 40px;
    font-size: 11px !important;
  }
  .point-gifts__section-title {
    font-size: 12px !important;
  }
  .point-gifts-terms {
    border: none;
    border-radius: 0;
    background: #000;
    overflow: hidden;
    max-width: 100%;
  }
  .point-gifts-terms__table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: #000;
    color: #fff;
  }
  .point-gifts-terms__table th,
  .point-gifts-terms__table td {
    border: 1px solid #333;
    padding: 7px 5px;
    font-size: 9px !important;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    word-break: normal;
    background: #000;
  }
  .point-gifts-terms__table th {
    color: #d4af37;
    font-weight: 700;
    font-size: 10px !important;
    background: #1c1810;
    border-color: #333;
  }
  .point-gifts-terms__table th:first-child {
    text-align: left;
    padding-left: 8px;
    width: 38%;
  }
  .point-gifts-terms__table th:nth-child(2) {
    width: 22%;
  }
  .point-gifts-terms__table th:nth-child(3),
  .point-gifts-terms__table th:nth-child(4) {
    width: 20%;
  }
  .point-gifts-terms__table td:first-child:has(.point-gifts-terms__logo),
  .point-gifts-terms__table td[rowspan] {
    text-align: left;
    padding-left: 8px;
    min-width: 0;
    white-space: nowrap;
  }
  .point-gifts-terms__table th:nth-child(2),
  .point-gifts-terms__table tbody td:nth-child(2),
  .point-gifts-terms__table tbody td:nth-last-child(3) {
    text-align: center !important;
  }
  .point-gifts-terms__table tbody td:first-child:not(:has(.point-gifts-terms__logo)) {
    text-align: center !important;
    padding-left: 5px;
  }
  .point-gifts-terms__logo {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    flex-shrink: 0;
    vertical-align: middle;
  }
  .point-gifts-bind__new-btn {
    min-width: 110px;
    height: 36px;
    font-size: 11px !important;
  }
  .point-gifts-bind__table th,
  .point-gifts-bind__table td {
    font-size: 11px !important;
    padding: 8px 6px;
  }
  .point-gifts__item {
    grid-template-columns: 44px 1fr 20px;
    gap: 10px;
    padding: 10px 15px;
  }
  .point-gifts__item-thumb {
    width: 38px;
    height: 38px;
  }
  .point-gifts__item-name {
    font-size: 12px !important;
  }
  .point-gifts__item-points {
    font-size: 11px !important;
  }
  .point-gifts__item-arrow {
    width: 8px;
    height: 8px;
    font-size: 0 !important;
  }
  .point-gifts__view-all {
    height: 50px;
    font-size: 12px !important;
  }
  .point-gifts-popup {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }
  .point-gifts-popup__backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .point-gifts-popup.is-open .point-gifts-popup__backdrop {
    opacity: 1;
  }
  .point-gifts-popup__panel {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 15px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
    border: none;
    border-radius: 0;
    transform: none;
    transition: none;
  }
  .point-gifts-popup.is-open .point-gifts-popup__panel {
    transform: none;
  }
  .point-gifts-popup__head {
    margin-left: -5px;
    flex-shrink: 0;
    padding-top: 12px;
    padding-bottom: 8px;
  }
  .point-gifts-popup__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
  .point-gifts-popup__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .point-gifts-popup__card {
    padding: 16px 10px 14px;
    border-radius: 12px;
  }
  .point-gifts-popup__badge {
    top: 0;
    right: 0;
    padding: 5px 10px;
    font-size: 11px !important;
  }
  .point-gifts-popup__thumb {
    width: 88px;
    height: 72px;
    margin-top: 6px;
  }
  .point-gifts-popup__btn {
    min-width: 96px;
    height: 32px;
    padding: 0 18px;
  }
  .bind-address-popup {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }
  .bind-address-popup__backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .bind-address-popup.is-open .bind-address-popup__backdrop {
    opacity: 1;
  }
  .bind-address-popup__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 15px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
    border: none;
    border-radius: 0;
    background: #000;
  }
  .bind-address-popup__head {
    flex-shrink: 0;
    margin: 0 0 12px -5px;
    padding-top: 4px;
  }
  .bind-address-popup__title {
    font-size: 14px !important;
  }
  .bind-address-popup__form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
  }
  .bind-address-popup__field > span {
    font-size: 12px !important;
  }
  .bind-address-popup__field input,
  .bind-address-popup__select-trigger {
    height: 44px;
    font-size: 12px !important;
    border-radius: 10px;
  }
  .bind-address-popup__actions {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 20px;
    gap: 12px;
  }
  .bind-address-popup__btn {
    flex: 1;
    height: 40px;
    font-size: 12px !important;
    border-radius: 10px;
  }
  .bind-address-popup__select-menu {
    top: calc(100% + 6px);
    border: 1px solid #8a909a;
    border-radius: 12px;
    background: #1b1d22;
  }
  .bind-address-popup__select-option {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px !important;
    gap: 10px;
  }
  .bind-address-popup__select-icon {
    width: 22px;
    height: 22px;
  }
  .bind-address-popup__select-icon--whatsapp {
    font-size: 11px !important;
  }
  .exchange-gift-popup {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }
  .exchange-gift-popup__backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .exchange-gift-popup.is-open .exchange-gift-popup__backdrop {
    opacity: 1;
  }
  .exchange-gift-popup__panel {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 15px;
    border: none;
    border-radius: 0;
    transform: none;
    transition: none;
  }
  .exchange-gift-popup.is-open .exchange-gift-popup__panel {
    transform: none;
  }
  .exchange-gift-popup__head {
    margin-left: -5px;
  }
  .exchange-gift-popup__summary {
    min-height: 102px;
    padding: 12px;
  }
  .exchange-gift-popup__summary-title {
    font-size: 18px !important;
  }
  .exchange-gift-popup__coin {
    width: 56px;
    height: 56px;
  }
  .exchange-gift-popup__body {
    margin-top: 10px;
    padding: 12px 10px;
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    background: #121212;
  }
  .exchange-gift-popup__gift {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 10px;
    row-gap: 0;
    align-items: start;
  }
  .exchange-gift-popup__thumb {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: contain;
  }
  .exchange-gift-popup__gift-meta {
    display: contents;
  }
  .exchange-gift-popup__gift-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px !important;
    line-height: 1.2;
    padding-bottom: 7px;
  }
  .exchange-gift-popup__gift-points {
    grid-column: 2;
    grid-row: 2;
    margin: 0 0 8px;
    font-size: 12px !important;
    line-height: 1.2;
  }
  .exchange-gift-popup__stock {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0 0 10px;
  }
  .exchange-gift-popup__stock-label {
    font-size: 11px !important;
    font-weight: 500;
    color: #fff;
  }
  .exchange-gift-popup__stock-badge {
    padding: 4px 16px;
    font-size: 11px !important;
    background: #1e3a1a;
    color: #9fd49f;
  }
  .exchange-gift-popup__qty {
    grid-column: 2;
    grid-row: 4;
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }
  .exchange-gift-popup__qty-btn,
  .exchange-gift-popup__qty-value {
    height: 36px;
    border-radius: 8px;
    font-size: 16px !important;
    font-weight: 700;
    box-sizing: border-box;
  }
  .exchange-gift-popup__qty-btn {
    width: 36px;
    min-width: 36px;
    flex-shrink: 0;
    border: none;
    color: #f7d54e;
    background: #2b2d30;
  }
  .exchange-gift-popup__qty-btn:first-child {
    color: #b8942e;
  }
  .exchange-gift-popup__qty-value {
    flex: 1;
    min-width: 0;
    border: none;
    color: #fff;
    background: #2b2d30;
  }
  .exchange-gift-popup__total {
    grid-column: 2;
    grid-row: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #3a3a3a;
  }
  .exchange-gift-popup__total-label,
  .exchange-gift-popup__total-points {
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.2;
  }
  .exchange-gift-popup__total-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .exchange-gift-popup__total-coin {
    width: 16px;
    height: 16px;
  }
  .exchange-gift-popup__rules-title {
    font-size: 9px !important;
    white-space: nowrap;
  }
  .exchange-gift-popup__rules {
    font-size: 11px !important;
  }
  .exchange-gift-popup__submit {
    height: 35px;
    font-size: 12px !important;
  }
}

/* Lucky Wheel tab (rewards.html) */
.profile-drawer__rewards-panel--lucky-wheel {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}
.rewards-lucky {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 12px 16px;
  box-sizing: border-box;
  border-radius: 16px;
  background: transparent;
  border: none;
  color: #1a1a1a;
  overflow: visible;
}
.rewards-lucky__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.rewards-lucky__history {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #4a4a4a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: filter 0.2s ease, background 0.2s ease;
}
.rewards-lucky__history:hover {
  filter: brightness(1.08);
  color: #fff;
}
.rewards-lucky__history-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}
.rewards-lucky__spins {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #c40000;
  line-height: 1.2;
}
.rewards-lucky__spins-num {
  font-weight: 900;
}
.rewards-lucky__scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 4px;
  z-index: 1;
}
.rewards-lucky__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.rewards-lucky__deco--coin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 11vw, 52px);
  height: clamp(36px, 11vw, 52px);
  border-radius: 50%;
  font-weight: 900;
  font-size: clamp(14px, 4.2vw, 22px);
  color: #7a5200;
  background: radial-gradient(circle at 32% 28%, #fffef0 0%, #ffe566 28%, #e8b923 52%, #a67c00 100%);
  box-shadow:
    inset 0 -4px 8px rgba(0, 0, 0, 0.22),
    inset 0 3px 6px rgba(255, 255, 255, 0.55),
    0 6px 14px rgba(0, 0, 0, 0.18);
  opacity: 0.92;
  transform: rotate(-12deg);
}
.rewards-lucky__deco--coin.rewards-lucky__deco--d1 {
  left: 2%;
  top: 18%;
  transform: rotate(-22deg) scale(1.05);
}
.rewards-lucky__deco--coin.rewards-lucky__deco--d2 {
  right: 4%;
  top: 26%;
  transform: rotate(14deg) scale(0.92);
}
.rewards-lucky__deco--coin.rewards-lucky__deco--d3 {
  left: 8%;
  bottom: 18%;
  transform: rotate(8deg) scale(0.88);
}
.rewards-lucky__deco--star {
  font-size: clamp(18px, 5vw, 28px);
  line-height: 1;
  color: #ffe566;
  text-shadow:
    0 0 10px rgba(255, 220, 120, 0.95),
    0 0 2px #fff8c4,
    0 2px 4px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}
.rewards-lucky__deco--star.rewards-lucky__deco--st1 {
  left: 4%;
  top: 8%;
  transform: rotate(-18deg);
}
.rewards-lucky__deco--star.rewards-lucky__deco--st2 {
  left: 14%;
  top: 12%;
  font-size: clamp(12px, 3.5vw, 18px);
  opacity: 0.75;
  transform: rotate(22deg);
}
.rewards-lucky__deco--confetti {
  width: 14px;
  height: 18px;
  border-radius: 2px;
  opacity: 0.85;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.rewards-lucky__deco--confetti.rewards-lucky__deco--cf1 {
  right: 6%;
  top: 10%;
  background: linear-gradient(145deg, #fb7185, #f97316);
  transform: rotate(18deg);
}
.rewards-lucky__deco--confetti.rewards-lucky__deco--cf2 {
  right: 2%;
  top: 20%;
  width: 12px;
  height: 12px;
  background: linear-gradient(145deg, #fbbf24, #f59e0b);
  transform: rotate(-32deg);
  border-radius: 3px;
}
.rewards-lucky__deco--confetti.rewards-lucky__deco--cf3 {
  right: 10%;
  top: 6%;
  width: 10px;
  height: 14px;
  background: linear-gradient(145deg, #f472b6, #ec4899);
  transform: rotate(8deg);
}
.rewards-lucky__wheel-shell {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto;
  padding-top: 22px;
}
.rewards-lucky__pointer {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 5;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}
.rewards-lucky__pointer-star {
  display: block;
  font-size: clamp(34px, 10vw, 44px);
  line-height: 1;
  color: #ffd54a;
  text-shadow:
    0 0 0 2px #b45309,
    0 2px 0 #92400e,
    0 4px 0 #78350f,
    0 6px 10px rgba(0, 0, 0, 0.35);
}
.rewards-lucky__wheel-frame {
  position: relative;
  width: 100%;
  padding: clamp(12px, 3.8vw, 16px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #151515 0%, #050505 55%, #0a0a0a 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 8px 24px rgba(0, 0, 0, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}
.rewards-lucky__wheel-marquee {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  background: repeating-conic-gradient(
    from -2deg,
    #ffffff 0deg 1.8deg,
    #e8e8e8 1.8deg 3.2deg,
    #2a2a2a 3.2deg 5deg,
    #0a0a0a 5deg 18deg
  );
  opacity: 0.88;
  -webkit-mask-image: radial-gradient(
    circle,
    transparent calc(50% - clamp(14px, 4.2vw, 19px)),
    #000 calc(50% - clamp(13px, 4vw, 18px)),
    #000 calc(50% - 2px),
    transparent 50%
  );
  mask-image: radial-gradient(
    circle,
    transparent calc(50% - clamp(14px, 4.2vw, 19px)),
    #000 calc(50% - clamp(13px, 4vw, 18px)),
    #000 calc(50% - 2px),
    transparent 50%
  );
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
}
.rewards-lucky__wheel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  z-index: 2;
  border-radius: 50%;
}
.rewards-lucky__wheel-bg {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: conic-gradient(
    #d62828 0deg 36deg,
    #f4d03f 36deg 72deg,
    #d62828 72deg 108deg,
    #f4d03f 108deg 144deg,
    #d62828 144deg 180deg,
    #f4d03f 180deg 216deg,
    #d62828 216deg 252deg,
    #f4d03f 252deg 288deg,
    #d62828 288deg 324deg,
    #f4d03f 324deg 360deg
  );
  box-shadow:
    inset 0 0 0 8px #8b6914,
    inset 0 0 0 12px rgba(255, 255, 255, 0.12),
    inset 0 0 20px rgba(0, 0, 0, 0.18),
    0 4px 14px rgba(0, 0, 0, 0.22);
}
.rewards-lucky__prizes {
  position: absolute;
  inset: 5%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 50%;
  pointer-events: none;
}
.rewards-lucky__prize {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10em;
  max-width: 48%;
  margin: 0;
  padding: 0;
  transform: rotate(calc(var(--rot) - 90deg)) translateY(calc(-1 * var(--lucky-r, 40%))) rotate(calc(90deg - var(--rot)));
  transform-origin: center center;
}
.rewards-lucky__prize-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  width: 100%;
}
.rewards-lucky__prize-ico {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
.rewards-lucky__prize-ico svg {
  display: block;
  width: clamp(16px, 5vw, 22px);
  height: auto;
}
.rewards-lucky__prize-txt {
  display: block;
  max-width: 100%;
  font-size: clamp(5px, 1.75vw, 8px);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.rewards-lucky__wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14%;
  height: 14%;
  margin: -7% 0 0 -7%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff2a8 0%, #f4d03f 45%, #c9a227 100%);
  box-shadow:
    inset 0 -2px 4px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.25);
  z-index: 3;
}
.rewards-lucky__spin-btn {
  display: block;
  width: min(100%, 300px);
  margin: 16px auto 0;
  padding: 15px 22px;
  border: 2px solid #d4a017;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  background: linear-gradient(180deg, #fffce8 0%, #ffe566 18%, #f5d24a 45%, #d4a017 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.65) inset,
    0 -2px 6px rgba(0, 0, 0, 0.12) inset,
    0 4px 0 #b8860b,
    0 7px 0 #8b6914,
    0 12px 22px rgba(0, 0, 0, 0.32);
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}
.rewards-lucky__spin-btn:hover {
  filter: brightness(1.04);
}
.rewards-lucky__spin-btn:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 2px 0 #8b6914,
    0 5px 14px rgba(0, 0, 0, 0.28);
}
.rewards-lucky__accordions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.rewards-lucky__details {
  border-radius: 12px;
  overflow: hidden;
  background: #1f1a18;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.rewards-lucky__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  user-select: none;
}
.rewards-lucky__summary::-webkit-details-marker {
  display: none;
}
.rewards-lucky__summary-text {
  flex: 1 1 auto;
  text-align: center;
}
.rewards-lucky__summary-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  opacity: 0.9;
}
.rewards-lucky__summary-chev img {
  display: block;
  width: 12px;
  height: 12px;
  object-fit: contain;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}
.rewards-lucky__details[open] .rewards-lucky__summary-chev img {
  transform: rotate(-90deg);
}
.rewards-lucky__summary-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 4px;
}
.rewards-lucky__summary-ico--coin {
  background: radial-gradient(circle at 35% 30%, #fff8dc 0%, #f4d03f 55%, #c9a227 100%);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.15);
}
.rewards-lucky__summary-ico--scroll {
  background: linear-gradient(145deg, #f4d03f 0%, #c9a227 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 20% 100%, 0% 50%);
}
.rewards-lucky__details-body {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rewards-lucky__details-p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 480px) {
  .rewards-lucky {
    padding: 12px 10px 14px;
  }
  .rewards-lucky__pointer-star {
    font-size: 28px;
  }
  .rewards-lucky__prize {
    --lucky-r: 37%;
  }
  .rewards-lucky__prize-txt {
    font-size: 5.5px;
  }
}

/* Rewards page lucky wheel screenshot tuning */
.page--rewards .profile-drawer__rewards-panel--lucky-wheel {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 640px;
  width: 100%;
  overflow: visible;
  color: #fff;
  font-weight: 400;
  text-transform: none;
}
.page--rewards .profile-drawer__rewards-hub[data-rewards-active-tab="lucky-wheel"]
  .profile-drawer__rewards-panel-wrap {
  overflow: visible;
}
.page--rewards .rewards-lucky {
  max-width: 640px;
  padding: 8px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}
.page--rewards .rewards-lucky__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.page--rewards .rewards-lucky__history {
  gap: 10px;
  padding: 11px 18px;
  border-radius: 12px;
  background: #232323;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-weight: 600;
  color: #fff;
}
.page--rewards .rewards-lucky__history-ico {
  width: 18px;
  height: 18px;
}
.page--rewards .rewards-lucky__history-ico img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.page--rewards .rewards-lucky__spins {
  position: relative;
  min-width: 104px;
  min-height: 66px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url("../images/lucky/bg_number_spin.png") no-repeat center center;
  background-size: 100% 100%;
  color: #d00000;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.page--rewards .rewards-lucky__spins-num {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.page--rewards .rewards-lucky__spin-btn {
  width: min(100%, 214px);
  max-width: 214px;
  aspect-ratio: 214 / 60;
  margin: 18px auto 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: url("../images/lucky/spin_btn.png") no-repeat center center;
  background-size: 100% 100%;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  overflow: hidden;
}
.page--rewards .rewards-lucky__spin-btn:hover {
  filter: brightness(1.06);
}
.page--rewards .rewards-lucky__spin-btn:active {
  transform: translateY(2px) scale(0.99);
  filter: brightness(0.97);
  box-shadow: none;
}
.page--rewards .rewards-lucky__spin-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.15);
  transform: none;
}
.page--rewards .rewards-lucky__scene {
  padding: 36px 0 12px;
  width: 100%;
  overflow: visible;
  box-sizing: border-box;
  /*background: url("../images/lucky/bg.png") no-repeat center center;
  background-size: 100% 100%;*/
}
.page--rewards .rewards-lucky__scene .ui-wheel-of-fortune {
  width: min(100%, 400px);
  max-width: 400px;
  margin: 0 auto;
  padding: 0;
}
.page--rewards .rewards-lucky__wheel-border,
:where(.ui-wheel-of-fortune) .rewards-lucky__wheel-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  pointer-events: none;
}
.page--rewards .rewards-lucky__wheel-border img,
:where(.ui-wheel-of-fortune) .rewards-lucky__wheel-border img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
:where(.ui-wheel-of-fortune:has(.rewards-lucky__wheel-border)) {
  filter: none;
}
:where(.ui-wheel-of-fortune:has(.rewards-lucky__wheel-border))::after {
  display: none;
}
:where(.ui-wheel-of-fortune:has(.rewards-lucky__wheel-border)) ul {
  inset: 11%;
  box-shadow: none;
}
:where(.ui-wheel-of-fortune:has(.rewards-lucky__wheel-border)) .ui-wheel-hub {
  z-index: 8;
}
.page--rewards .lucky__wheel-star-luck,
:where(.ui-wheel-of-fortune) .lucky__wheel-star-luck {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  pointer-events: none;
}
.page--rewards .lucky__wheel-star-luck img,
:where(.ui-wheel-of-fortune) .lucky__wheel-star-luck img {
  display: block;
  width: clamp(56px, 20cqi, 100px);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes lucky-wheel-deco-star {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.14) rotate(18deg);
    opacity: 0.82;
  }
}
@keyframes lucky-wheel-deco-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-6deg);
  }
}
@keyframes lucky-wheel-deco-coin-left {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-10px) rotate(10deg);
  }
}
@keyframes lucky-wheel-deco-coin-right {
  0%,
  100% {
    transform: translateY(0) rotate(8deg) scale(1);
  }
  35% {
    transform: translateY(-8px) rotate(-8deg) scale(1.06);
  }
  70% {
    transform: translateY(5px) rotate(12deg) scale(0.96);
  }
}
.page--rewards .lucky_wheel_object_1,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_1 {
  position: absolute;
  top: -22px;
  left: -10px;
  z-index: 10;
  pointer-events: none;
}
.page--rewards .lucky_wheel_object_2,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_2 {
  position: absolute;
  top: -19px;
  right: -46px;
  z-index: 10;
  pointer-events: none;
  max-width: 153px;
}
.page--rewards .lucky_wheel_object_3,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_3 {
  position: absolute;
    bottom: -30px;
    left: -23px;
    z-index: 10;
    pointer-events: none;
}
.page--rewards .lucky_wheel_object_4,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_4 {
  position: absolute;
  bottom: -18px;
  right: -9px;
  z-index: 10;
  pointer-events: none;
}
.page--rewards .lucky_wheel_object_1 img,
.page--rewards .lucky_wheel_object_2 img,
.page--rewards .lucky_wheel_object_3 img,
.page--rewards .lucky_wheel_object_4 img,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_1 img,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_2 img,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_3 img,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_4 img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
}
.page--rewards .lucky_wheel_object_1 img,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_1 img {
  animation: lucky-wheel-deco-star 2.2s ease-in-out infinite;
}
.page--rewards .lucky_wheel_object_2 img,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_2 img {
  animation: lucky-wheel-deco-float 3.2s ease-in-out infinite;
  animation-delay: 0.4s;
}
.page--rewards .lucky_wheel_object_3 img,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_3 img {
  animation: lucky-wheel-deco-coin-left 2.8s ease-in-out infinite;
  animation-delay: 0.8s;
}
.page--rewards .lucky_wheel_object_4 img,
:where(.ui-wheel-of-fortune) .lucky_wheel_object_4 img {
  animation: lucky-wheel-deco-coin-right 3s ease-in-out infinite;
  animation-delay: 1.2s;
}
.page--rewards .rewards-lucky__deco--coin {
  width: 48px;
  height: 48px;
  font-size: 22px;
  color: #925f00;
  background: radial-gradient(circle at 32% 28%, #fffce9 0%, #ffe56d 28%, #efbb1a 54%, #b27100 100%);
  box-shadow:
    inset 0 -4px 8px rgba(0, 0, 0, 0.22),
    inset 0 3px 6px rgba(255, 255, 255, 0.55),
    0 6px 14px rgba(0, 0, 0, 0.22);
}
.page--rewards .rewards-lucky__deco--coin.rewards-lucky__deco--d1 {
  left: 17%;
  bottom: 52px;
  top: auto;
  transform: rotate(-16deg) scale(1.08);
}
.page--rewards .rewards-lucky__deco--coin.rewards-lucky__deco--d2 {
  left: 11%;
  bottom: 92px;
  right: auto;
  top: auto;
  transform: rotate(18deg) scale(0.72);
}
.page--rewards .rewards-lucky__deco--coin.rewards-lucky__deco--d3 {
  right: 19%;
  bottom: 38px;
  top: auto;
  transform: rotate(12deg) scale(1.04);
}
.page--rewards .rewards-lucky__deco--star {
  width: 56px;
  height: 56px;
  font-size: 0;
  background: radial-gradient(circle at 35% 32%, #fff7dd 0%, #ffe9a8 18%, #ffd675 42%, #d59b31 72%, #8d5a09 100%);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  filter:
    drop-shadow(0 0 14px rgba(255, 220, 120, 0.6))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
.page--rewards .rewards-lucky__deco--star.rewards-lucky__deco--st1 {
  left: 17%;
  top: 18px;
  transform: rotate(-8deg);
}
.page--rewards .rewards-lucky__deco--star.rewards-lucky__deco--st2 {
  left: 27%;
  top: 0;
  width: 28px;
  height: 28px;
  opacity: 0.95;
  transform: rotate(18deg);
}
.page--rewards .rewards-lucky__deco--confetti {
  opacity: 1;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}
.page--rewards .rewards-lucky__deco--confetti.rewards-lucky__deco--cf1 {
  right: 17%;
  top: 34px;
  width: 14px;
  height: 34px;
  border-radius: 20px 4px 18px 8px;
  background: linear-gradient(180deg, #ff6db5 0%, #ffbe4a 100%);
  transform: rotate(-18deg);
}
.page--rewards .rewards-lucky__deco--confetti.rewards-lucky__deco--cf2 {
  right: 24%;
  top: 46px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffa4df 0%, #9b5cff 100%);
  transform: none;
}
.page--rewards .rewards-lucky__deco--confetti.rewards-lucky__deco--cf3 {
  right: 11%;
  top: 48px;
  width: 26px;
  height: 24px;
  border-radius: 0;
  clip-path: polygon(0 8%, 100% 50%, 0 92%);
  background: linear-gradient(180deg, #ffa63c 0%, #ff59c4 100%);
  transform: rotate(-8deg);
}
.page--rewards .rewards-lucky__wheel-shell {
  position: relative;
  width: min(100%, 420px);
  max-width: 420px;
  margin: 0 auto;
  padding-top: 0;
  aspect-ratio: 1;
}
.page--rewards .rewards-lucky__wheel-board {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.page--rewards .rewards-lucky__pointer {
  width: 84px;
}
.page--rewards .rewards-lucky__pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 18px solid #f3bf25;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}
.page--rewards .rewards-lucky__pointer-star {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  font-size: 0;
  background: linear-gradient(180deg, #fff7d3 0%, #ffd84a 38%, #f2a90b 100%);
  border: 4px solid #fff0a0;
  box-sizing: border-box;
  clip-path: polygon(50% 0%, 61% 36%, 98% 50%, 64% 62%, 50% 100%, 36% 62%, 2% 50%, 39% 36%);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}
.page--rewards .rewards-lucky__pointer-star::after {
  content: "";
  position: absolute;
  inset: 13px;
  background: linear-gradient(180deg, #6f3000 0%, #994200 100%);
  border: 3px solid #ffd54a;
  box-sizing: border-box;
  clip-path: polygon(50% 0%, 61% 36%, 98% 50%, 64% 62%, 50% 100%, 36% 62%, 2% 50%, 39% 36%);
}
.page--rewards .rewards-lucky__wheel-frame {
  padding: 18px;
  background: radial-gradient(circle at 35% 30%, #fff7be 0%, #ffd84e 16%, #ffb40f 44%, #df6b00 74%, #903300 100%);
  box-shadow:
    inset 0 0 0 3px #fff0a0,
    inset 0 0 0 11px rgba(255, 141, 0, 0.55),
    inset 0 -8px 14px rgba(122, 43, 0, 0.28),
    0 18px 26px rgba(0, 0, 0, 0.26);
}
.page--rewards .rewards-lucky__wheel-marquee {
  background: repeating-conic-gradient(
    from -6deg,
    #fffef8 0deg 5deg,
    #ffe27a 5deg 9deg,
    transparent 9deg 18deg
  );
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255, 238, 158, 0.9));
  -webkit-mask-image: radial-gradient(
    circle,
    transparent calc(50% - 23px),
    #000 calc(50% - 22px),
    #000 calc(50% - 8px),
    transparent calc(50% - 7px)
  );
  mask-image: radial-gradient(
    circle,
    transparent calc(50% - 23px),
    #000 calc(50% - 22px),
    #000 calc(50% - 8px),
    transparent calc(50% - 7px)
  );
}
.page--rewards .rewards-lucky__wheel-bg {
  inset: 9.5%;
  background: conic-gradient(
    from -18deg,
    #ef120f 0deg 36deg,
    #ffc225 36deg 72deg,
    #ef120f 72deg 108deg,
    #ffc225 108deg 144deg,
    #ef120f 144deg 180deg,
    #ffc225 180deg 216deg,
    #ef120f 216deg 252deg,
    #ffc225 252deg 288deg,
    #ef120f 288deg 324deg,
    #ffc225 324deg 360deg
  );
  box-shadow:
    inset 0 0 0 7px #ffbf22,
    inset 0 0 0 10px rgba(255, 247, 190, 0.25),
    inset 0 0 24px rgba(0, 0, 0, 0.18);
}
.page--rewards .rewards-lucky__wheel-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -18deg,
    transparent 0deg 34.5deg,
    rgba(255, 248, 200, 0.52) 34.5deg 36deg
  );
  opacity: 0.9;
}
.page--rewards .rewards-lucky__wheel-bg::after {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 244, 176, 0.78);
}
.page--rewards .rewards-lucky__prizes {
  inset: 9.5%;
}
.page--rewards .rewards-lucky__prize {
  --lucky-r: 31%;
  width: 9em;
  max-width: 42%;
}
.page--rewards .rewards-lucky__prize-inner {
  gap: 6px;
}
.page--rewards .rewards-lucky__prize-ico {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
.page--rewards .rewards-lucky__prize-ico svg {
  width: clamp(20px, 6vw, 30px);
}
.page--rewards .rewards-lucky__prize-txt {
  max-width: 88%;
  font-size: clamp(7px, 1.55vw, 10px);
  line-height: 1.05;
  letter-spacing: 0;
}
.page--rewards .rewards-lucky__prize:nth-child(odd) .rewards-lucky__prize-txt {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.page--rewards .rewards-lucky__prize:nth-child(even) .rewards-lucky__prize-txt {
  color: #281500;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.page--rewards .rewards-lucky__wheel-hub {
  width: 11%;
  height: 11%;
  margin: -5.5% 0 0 -5.5%;
  background: radial-gradient(circle at 35% 30%, #fff2ae 0%, #f5d04e 48%, #c78508 100%);
  box-shadow:
    inset 0 -2px 5px rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(255, 237, 169, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.28);
}
.page--rewards .rewards-lucky__accordions {
  margin-top: 26px;
  gap: 16px;
}
.page--rewards .rewards-lucky__details {
  border-radius: 5px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}
.page--rewards .rewards-lucky__summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  aspect-ratio: 640 / 60;
  min-height: 44px;
  max-height: 60px;
  padding: 0 16px;
  box-sizing: border-box;
  background: url("../images/lucky/bg_box.png") no-repeat center center;
  background-size: 100% 100%;
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  text-transform: none;
  list-style: none;
}
.page--rewards .rewards-lucky__summary-main {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.page--rewards .rewards-lucky__summary-text {
  flex: 0 0 auto;
  text-align: center;
  white-space: nowrap;
}
.page--rewards .rewards-lucky__summary-chev {
  grid-column: 3;
  justify-self: end;
  position: static;
  top: auto;
  right: auto;
  transform: none;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.page--rewards .rewards-lucky__summary-chev img {
  width: 14px;
  height: 14px;
  filter: brightness(0) saturate(100%) invert(100%);
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}
.page--rewards .rewards-lucky__details[open] .rewards-lucky__summary-chev img {
  transform: rotate(-90deg);
}
.page--rewards .rewards-lucky__summary-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.page--rewards .rewards-lucky__summary-ico img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.page--rewards .rewards-lucky__summary-ico--coin,
.page--rewards .rewards-lucky__summary-ico--scroll {
  background: none;
  box-shadow: none;
  clip-path: none;
}
.page--rewards .rewards-lucky__summary-ico--coin::before {
  content: none;
}
.page--rewards .rewards-lucky__details-body {
  padding: 10px 14px 14px;
  border-top: none;
  background: #080808;
}
.page--rewards .rewards-lucky__details-body:has(.rewards-lucky__prize-list) {
  padding: 12px;
  background: url("../images/lucky/bg_prize_list.png") no-repeat center center;
  background-size: 100% 100%;
  display: block;
}
.page--rewards .rewards-lucky__prize-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page--rewards .rewards-lucky__prize-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: url("../images/lucky/bgprize_list.png") no-repeat center center;
  background-size: 100% 100%;
  box-sizing: border-box;
}
.page--rewards .rewards-lucky__prize-list-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
.page--rewards .rewards-lucky__prize-list-num img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.page--rewards .rewards-lucky__prize-list-ico {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.page--rewards .rewards-lucky__prize-list-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
}
.page--rewards .rewards-lucky__details-body:has(.rewards-lucky__terms-panel) {
  padding: 12px 14px;
  background: url("../images/lucky/bg_prize_list.png") no-repeat center center;
  background-size: 100% 100%;
  display: block;
}
.page--rewards .rewards-lucky__terms-panel {
  color: rgba(255, 255, 255, 0.85);
  text-transform: none;
}
.page--rewards .rewards-lucky__terms-heading {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #ffffff;
  text-transform: none;
}
.page--rewards .rewards-lucky__terms-heading--conditions {
  margin-top: 16px;
}
.page--rewards .rewards-lucky__event-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  text-transform: none;
}
.page--rewards .rewards-lucky__event-table th,
.page--rewards .rewards-lucky__event-table td {
  padding: 8px 6px;
  text-align: center;
  border: 1px solid #2a2a2a;
  vertical-align: middle;
}
.page--rewards .rewards-lucky__event-table th {
  color: #ffffff;
  font-weight: 400;
  text-transform: uppercase;
}
.page--rewards .rewards-lucky__event-table td {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  text-transform: none;
}
.page--rewards .rewards-lucky__terms-list {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  display: block;
}
.page--rewards .rewards-lucky__terms-list li {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  text-transform: none;
}
.page--rewards .rewards-lucky__terms-list li + li {
  margin-top: 8px;
}
.page--rewards .rewards-lucky__details-p {
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 768px) {
  .page--rewards .rewards-page:has(
    .profile-drawer__rewards-hub[data-rewards-active-tab="lucky-wheel"]
  ) {
    background: #000;
    border-radius: 0;
    padding: 0;
    max-width: none;
  }
  .page--rewards .main > .container:has(
    .profile-drawer__rewards-hub[data-rewards-active-tab="lucky-wheel"]
  ) {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
  .page--rewards
    .profile-drawer__rewards-hub[data-rewards-active-tab="lucky-wheel"]
    .profile-drawer__rewards-panel-wrap {
    padding: 10px 8px calc(20px + env(safe-area-inset-bottom, 0px));
    margin-top: 0;
    overflow: visible;
    box-sizing: border-box;
  }
  .page--rewards .profile-drawer__rewards-panel--lucky-wheel {
    color: #fff;
    font-weight: 400;
    text-transform: none;
  }
  .page--rewards .profile-drawer__rewards-panel--lucky-wheel,
  .page--rewards .profile-drawer__rewards-panel--lucky-wheel * {
    text-transform: none;
  }
  .page--rewards .rewards-lucky {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }
  .page--rewards .rewards-lucky__toolbar {
    margin-bottom: 6px;
    padding: 0 2px;
  }
  .page--rewards .rewards-lucky__history {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
  }
  .page--rewards .rewards-lucky__history-ico {
    width: 18px;
    height: 18px;
  }
  .page--rewards .rewards-lucky__spins {
    min-width: 96px;
    min-height: 54px;
    padding: 0 12px;
    color: #d00000;
    flex-shrink: 0;
  }
  .page--rewards .rewards-lucky__scene {
    padding: 32px 0 16px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
  }
  .page--rewards .rewards-lucky__scene .ui-wheel-of-fortune {
    width: min(100%, calc(100vw - 8px));
    max-width: 360px;
    margin: 0 auto;
    padding: 0;
  }
  .page--rewards .lucky__wheel-star-luck {
    top: -30px;
    z-index: 30;
  }
  .page--rewards .lucky__wheel-star-luck img {
    width: clamp(52px, 16vw, 76px);
  }
  .page--rewards .lucky_wheel_object_1 {
    top: -4px;
    left: -6px;
    z-index: 26;
  }
  .page--rewards .lucky_wheel_object_1 img {
    max-width: 58px;
  }
  .page--rewards .lucky_wheel_object_2 {
    max-width: 118px;
    top: -20px;
    right: -18px;
    z-index: 26;
  }
  .page--rewards .lucky_wheel_object_3 {
    bottom: -28px;
    left: 0;
    z-index: 26;
  }
  .page--rewards .lucky_wheel_object_4 {
    bottom: -10px;
    right: -12px;
    z-index: 26;
  }
  .page--rewards .lucky_wheel_object_3 img,
  .page--rewards .lucky_wheel_object_4 img {
    max-width: 68px;
  }
  .page--rewards .rewards-lucky__accordions {
    margin-top: 12px;
    gap: 10px;
    width: 100%;
    padding: 0 2px;
    box-sizing: border-box;
  }
  .page--rewards .rewards-lucky__summary {
    min-height: 48px;
    max-height: none;
    padding: 0 12px;
  }
  .page--rewards .rewards-lucky__summary-main {
    gap: 8px;
  }
  .page--rewards .rewards-lucky__summary-text {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
  }
  .page--rewards .rewards-lucky__details-body:has(.rewards-lucky__prize-list),
  .page--rewards .rewards-lucky__details-body:has(.rewards-lucky__terms-panel) {
    padding: 10px;
    border-radius: 0;
  }
  .page--rewards .rewards-lucky__prize-list-item {
    padding: 6px 12px 6px 8px;
    gap: 8px;
    border-radius: 0;
  }
  .page--rewards .rewards-lucky__prize-list-name {
    font-size: 11px;
  }
  .page--rewards .rewards-lucky__event-table {
    font-size: 10px;
  }
  .page--rewards .rewards-lucky__terms-heading {
    font-size: 11px;
  }
  .page--rewards .rewards-lucky__terms-list li {
    font-size: 10px;
  }
}

/* Rewards page main column (rewards.html) */
.page--rewards .main {
  background: #000000;
  padding: 12px 0 28px;
}
@media (max-width: 768px) {
  .page--rewards .main {
    padding: 0;
  }
}
.page--rewards .rewards-page {
  max-width: 940px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #121212;
  overflow: hidden;
}
.page--rewards .profile-drawer__card {
  max-width: 100%;
}
/*.page--rewards,
.page--rewards * {
  font-size: 12px !important;
}*/
@media (max-width: 768px) {
  body.page--rewards.page--achievement-deposit-total-amount:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    .profile-drawer__rewards-tabs,
  body.page--rewards.page--achievement-deposit-total-acount:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    .profile-drawer__rewards-tabs,
  body.page--rewards.page--achievement-refer-count-deposit-turnover:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    .profile-drawer__rewards-tabs,
  body.page--rewards.page--achievement-refer-count-withdraw-deposit:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    .profile-drawer__rewards-tabs,
  body.page--rewards.page--achievement-total-refer-count:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    .profile-drawer__rewards-tabs {
    display: none;
  }
  body.page--rewards.page--achievement-deposit-total-amount:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    > .page
    > .header,
  body.page--rewards.page--achievement-deposit-total-acount:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    > .page
    > .header,
  body.page--rewards.page--achievement-refer-count-deposit-turnover:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    > .page
    > .header,
  body.page--rewards.page--achievement-refer-count-withdraw-deposit:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    > .page
    > .header,
  body.page--rewards.page--achievement-total-refer-count:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    )
    > .page
    > .header {
    display: none !important;
  }
  body.page--rewards.page--achievement-deposit-total-amount:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    ),
  body.page--rewards.page--achievement-deposit-total-acount:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    ),
  body.page--rewards.page--achievement-refer-count-deposit-turnover:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    ),
  body.page--rewards.page--achievement-refer-count-withdraw-deposit:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    ),
  body.page--rewards.page--achievement-total-refer-count:has(
      .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    ) {
    padding-top: 0;
  }
  body.page--rewards:has(.profile-drawer__rewards-hub[data-rewards-active-tab="referral"]) > .page > .header {
    display: none !important;
  }
  body.page--rewards:has(.profile-drawer__rewards-hub[data-rewards-active-tab="referral"]) {
    padding-top: 0;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .page--rewards .profile-drawer__rewards-hub[data-rewards-active-tab="referral"] {
    margin: 10px auto;
  }
  .page--rewards .rewards-page {
    background: none;
    padding: 0;
  }
  .page--rewards .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
    .profile-drawer__rewards-panel-wrap,
  .page--rewards .profile-drawer__rewards-hub[data-rewards-active-tab="referral"]
    .profile-drawer__rewards-panel-wrap,
  .page--rewards .profile-drawer__rewards-hub[data-rewards-active-tab="lucky-wheel"]
    .profile-drawer__rewards-panel-wrap {
    margin-top: 0;
  }
  .page--rewards .rewards-page:has(
    .profile-drawer__rewards-hub[data-rewards-active-tab="achievement"]
  ),
  .page--rewards .rewards-page:has(
    .profile-drawer__rewards-hub[data-rewards-active-tab="referral"]
  ),
  .page--rewards .rewards-page:has(
    .profile-drawer__rewards-hub[data-rewards-active-tab="lucky-wheel"]
  ) {
    padding: 0;
  }
  body.page--rewards
    .profile-drawer__rewards-hub[data-rewards-active-tab="referral"]
    .profile-drawer__rewards-panel[data-rewards-view="referral"]:not([hidden]) {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  body.page--rewards
    .profile-drawer__rewards-hub[data-rewards-active-tab="referral"]
    .profile-drawer__rewards-panel[data-rewards-view="referral"]
    .profile-drawer__side,
  body.page--rewards
    .profile-drawer__rewards-hub[data-rewards-active-tab="referral"]
    .profile-drawer__rewards-panel[data-rewards-view="referral"]
    .referral-page__sub-panels {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  body.page--rewards
    .profile-drawer__rewards-hub[data-rewards-active-tab="referral"]
    .profile-drawer__rewards-panel[data-rewards-view="referral"]
    .profile-drawer__side {
    margin-top: 10px;
  }
  body.page--rewards
    .profile-drawer__rewards-hub[data-rewards-active-tab="referral"]
    .profile-drawer__rewards-panel[data-rewards-view="referral"]
    .referral-page__sub-panels {
    padding: 0;
  }
}
.page--rewards .rewards-page .profile-drawer__rewards-tab {
  color: #ffffff;
  flex: 1;
  padding: 10px 0;
  font-size: 11px;
}
.page--rewards .rewards-page .profile-drawer__rewards-tab--active {
  color: #f9d94e;
}
.page--rewards .rewards-page .profile-drawer__rewards-card-sub--accent {
  color: #c8f542;
}

/* ---- Info Central page ---- */
/* Use div only — body also gets class page--info-central for page chrome
   overrides; applying flex/min-height:100dvh to body locks mobile scroll. */
div.page--info-central {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #000;
}
body.page--info-central {
  background: #000;
}
.page--info-central .main {
  flex: 1 1 auto;
  padding-top: 0;
  min-width: 0;
}
.info-central__header--mobile {
  display: none;
}
.info-central__header {
  align-items: center;
  gap: 10px;
  background: #000;
}
.info-central__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.info-central__back img,
.info-central__back-icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.info-central__back img {
  filter: brightness(0) invert(1);
}
.info-central__back-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.info-central__mobile-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
.page--info-central .container {
  padding-top: 10px;
  padding-bottom: 32px;
}
.info-central-shell {
  display: block;
}
.info-central-shell .info-central__tabs-wrap {
  display: block;
}
.info-central {
  height: 700px;
  background: #151515;
  border-radius: 18px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.info-central-shell .info-central {
  height: auto;
  min-height: 0;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.info-central-shell {
  background: #151515;
  border-radius: 18px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.info-central__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.info-central__tabs-wrap {
  display: block;
}
.info-central__tabs-wrap .info-central__tabs {
  margin-bottom: 28px;
}
.info-central__tab {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 13px 16px;
  border-radius: 6px;
  background: #2a2a2a;
  color: #e8e8e8;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.info-central__tab:hover {
  background: #3a3a3a;
  color: #fff;
}
.info-central__tab--active {
  font-weight: 700;
  background: linear-gradient(180deg, #f4d03f 0%, #e8a317 45%, #c9790a 100%);
  color: #0f0f0f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 2px 8px rgba(232, 163, 23, 0.35);
}
.info-central__tab--active:hover {
  background: linear-gradient(180deg, #f8d54a 0%, #ecb01e 45%, #d08412 100%);
  color: #0a0a0a;
}
.info-central__panels {
  text-align: left;
}
.info-central__title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f4d03f;
}
.info-central__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 400;
}
.info-central__panel--faq .info-central__title {
  margin-bottom: 22px;
  font-weight: 700;
}
.info-central__faq-list {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.info-central__faq-item {
  margin: 0 0 22px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.info-central__faq-item:last-child {
  margin-bottom: 0;
}
.info-central__faq-q {
  margin: 0 0 6px;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  color: #ffffff;
}
.info-central__faq-a {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
  color: #e8e8e8;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.info-central__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.info-central__panel--terms .info-central__title {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 100%;
}
.info-central__terms-subhead {
  margin: 0 0 8px;
  padding: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: #ffffff;
  text-transform: none;
  letter-spacing: normal;
}
.info-central__panel--terms .info-central__text {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.info-central__panel--privacy .info-central__title {
  margin-bottom: 16px;
  font-weight: 700;
  max-width: 100%;
  line-height: 1.35;
}
.info-central__panel--privacy .info-central__text {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.info-central__panel--responsible {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.info-central__panel--responsible .info-central__title {
  margin-bottom: 14px;
  font-weight: 400;
  max-width: 100%;
  line-height: 1.35;
}
.info-central__panel--responsible .info-central__text {
  margin: 0 0 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.info-central__panel--responsible .info-central__prose-ul {
  margin: 0 0 16px;
  padding-left: 1.35em;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.7;
  list-style-type: disc;
}
.info-central__panel--responsible .info-central__prose-ul li {
  margin-bottom: 6px;
}
.info-central__panel--responsible .info-central__prose-ul li:last-child {
  margin-bottom: 0;
}
.info-central__panel--responsible .info-central__prose-ol {
  margin: 0;
  padding-left: 1.45em;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.7;
  list-style-type: decimal;
  max-width: 100%;
}
.info-central__panel--responsible .info-central__prose-ol li {
  margin-bottom: 12px;
  padding-left: 6px;
}
.info-central__panel--responsible .info-central__prose-ol li:last-child {
  margin-bottom: 0;
}
.info-central__panel--responsible .info-central__prose-ol a {
  color: inherit;
  text-decoration: none;
  word-break: break-all;
}
.info-central__panel--responsible .info-central__prose-ol a:hover {
  text-decoration: underline;
}
.info-central__panel--disconnect {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.info-central__panel--disconnect .info-central__title {
  margin-bottom: 14px;
  font-weight: 600;
  max-width: 100%;
  line-height: 1.35;
}
.info-central__panel--disconnect .info-central__text {
  margin: 0 0 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.info-central__panel--disconnect .info-central__text:last-of-type {
  margin-bottom: 14px;
}
.info-central__disconnect-ol {
  margin: 0;
  padding-left: 1.45em;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.7;
  list-style-type: decimal;
  max-width: 100%;
}
.info-central__panel--disconnect .info-central__disconnect-ol li {
  margin-bottom: 12px;
  padding-left: 6px;
}
.info-central__panel--disconnect .info-central__disconnect-ol li:last-child {
  margin-bottom: 0;
}
.info-central__panel--contact {
  position: relative;
  width: 100%;
  max-width: 50%;
  min-width: 0;
}
.info-central__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: start;
}
.info-central__contact-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.info-central__contact-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(249, 217, 78, 0.60);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.info-central__contact-head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #fff;
}
.info-central__contact-head-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.info-central__contact-head-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.info-central__contact-box {
  margin: 0;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid #b4904c;
  border-radius: 12px;
  min-width: 0;
}
.info-central__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-central__contact-list li {
  margin: 0;
}
.info-central__contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  max-width: 100%;
  min-width: 0;
  transition: color 0.2s ease;
}
.info-central__contact-link:hover {
  color: #f4d03f;
}
.info-central__contact-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.info-central__contact-link-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 7px;
}
.info-central__panel[hidden] {
  display: none !important;
}
@media (max-width: 768px) {
  body.page--info-central,
  body:has(div.page--info-central) {
    /* Body must stay a normal block scroller — not flex like the content div.
       Keep height:100% (from global mobile) so body remains the scrollport
       under html{overflow:hidden}. */
    display: block !important;
    padding-top: 0;
    /* Clear fixed .footer-mobile-nav so Contact/Follow lists can scroll fully */
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }
  div.page--info-central {
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
    flex: none;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  body.page--info-central .page,
  body:has(div.page--info-central) .page {
    display: none !important;
  }
  body.page--info-central .footer,
  body:has(div.page--info-central) .footer {
    display: none !important;
  }
  body.page--info-central .page > .header,
  body.page--info-central .page > .nav-announcement-stack,
  body:has(div.page--info-central) .page > .header,
  body:has(div.page--info-central) .page > .nav-announcement-stack {
    display: none !important;
  }
  div.page--info-central > .header {
    display: none !important;
  }
  .info-central__header--mobile {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 7001;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 15px 10px;
    box-sizing: border-box;
  }
  .info-central__mobile-title {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    font-weight: 500;
  }
  .page--info-central .info-central__tabs-wrap {
    display: block;
    margin: 0 -6px 0;
    padding: 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .page--info-central .info-central__tabs-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .page--info-central .info-central__tabs-wrap .info-central__tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: min-content;
    margin-bottom: 0;
    padding: 0 2px 2px;
  }
  .page--info-central .container {
    padding-top: 0;
    padding-bottom: 20px;
  }
  .page--info-central .main {
    padding-bottom: 0;
  }
  .page--info-central .info-central-shell {
    background: #151515;
    border-radius: 14px;
    padding: 16px 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
  .page--info-central .info-central-shell .info-central__tabs-wrap {
    margin: 0 -4px 0;
    padding-bottom: 14px;
  }
  .info-central {
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 0;
  }
  .page--info-central .info-central__panel--contact {
    max-width: 100%;
    padding-bottom: 8px;
  }
}
@media (max-width: 640px) {
  .page--info-central .container {
    padding-top: 0;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 20px;
  }
  .page--info-central .info-central-shell {
    padding: 16px 14px;
    border-radius: 14px;
  }
  .page--info-central .info-central__tabs-wrap .info-central__tabs {
    gap: 6px;
  }
  .info-central__tab {
    padding: 11px 12px;
  }
  .info-central__title {
    margin-bottom: 8px;
  }
  .info-central__text {
    line-height: 1.65;
  }
  .info-central__panel--faq .info-central__title {
    margin-bottom: 18px;
  }
  .info-central__faq-item {
    margin-bottom: 18px;
  }
  .info-central__faq-a {
    line-height: 1.65;
  }
  .info-central__panel--contact {
    max-width: 100%;
  }
  .info-central__contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .info-central__contact-head {
    padding: 9px 16px;
  }
  .info-central__contact-box {
    padding: 10px 12px;
  }
  .info-central__contact-list {
    gap: 8px;
  }
  .info-central__contact-link-icon {
    width: 24px;
    height: 24px;
  }
  .info-central__panel--terms .info-central__title {
    margin-bottom: 16px;
  }
  .info-central__terms-subhead {
    margin-bottom: 6px;
  }
  .info-central__panel--privacy .info-central__title {
    margin-bottom: 14px;
  }
  .info-central__panel--responsible .info-central__text {
    margin-bottom: 10px;
  }
  .info-central__panel--responsible .info-central__prose-ul,
  .info-central__panel--responsible .info-central__prose-ol {
    line-height: 1.65;
  }
  .info-central__panel--disconnect .info-central__text {
    margin-bottom: 10px;
  }
  .info-central__panel--disconnect .info-central__text:last-of-type {
    margin-bottom: 12px;
  }
  .info-central__disconnect-ol {
    line-height: 1.65;
  }
}

/* ---- Performance: respect OS reduced-motion preference ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .announcement-text-run {
    animation: none;
    will-change: auto;
  }
  .slick-track,
  .slick-list {
    will-change: auto;
  }
}

/* -------------------------------------------------------------------------- */
/* Sponsorship page (mobile-only layout)                                      */
/* -------------------------------------------------------------------------- */
.sponsor-mobile {
  display: none;
  color: #fff;
  background: #000;
  min-height: 100vh;
  font-family: "Inter", -apple-system, sans-serif;
}

@media (max-width: 640px) {
  .sponsor-mobile { display: block; }
}

.sponsor-mobile__wrap {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 12px 16px 24px;
}

.sponsor-mobile__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sponsor-mobile__back {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
}

.sponsor-mobile__back img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.sponsor-mobile__title {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.page--sponsorship .sponsor-mobile__wrap {
  width: 100%;
  max-width: 100%;
  padding: 0 16px 24px;
}

.page--sponsorship .sponsor-mobile__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -16px 12px;
  padding: 14px 16px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  min-height: 48px;
  background: #000000;
  box-sizing: border-box;
}

.page--sponsorship .sponsor-mobile__back {
  width: auto;
  height: auto;
  flex-shrink: 0;
}

.page--sponsorship .sponsor-mobile__back-icon {
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.page--sponsorship .sponsor-mobile__title {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
}

.page--sponsorship .sponsor-mobile__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.page--sponsorship .sponsor-mobile__menu-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
}


.sponsor-mobile__timeline {
  position: relative;
  padding: 10px 0 4px;
  margin-bottom: 10px;
}

.sponsor-mobile__timeline-bar {
  display: grid;
  grid-template-rows: 14px auto;
  row-gap: 10px;
  margin-bottom: 10px;
}

.sponsor-mobile__timeline-lower {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  column-gap: 10px;
  min-width: 0;
}

.sponsor-mobile__timeline-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgb(50 43 16);
  padding: 0;
  display: grid;
  place-items: center;
}

.sponsor-mobile__timeline-chevron {
  width: 18px;
  height: 18px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  filter: brightness(0) saturate(100%) invert(84%) sepia(34%) saturate(496%) hue-rotate(359deg) brightness(103%) contrast(97%);
}
.sponsor-mobile__timeline-chevron--left {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F9D94E' d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}
.sponsor-mobile__timeline-chevron--right {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F9D94E' d='M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z'/%3E%3C/svg%3E");
}

.sponsor-mobile__timeline-track {
  position: relative;
  height: 14px;
}

.sponsor-mobile__timeline-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: rgb(255 255 255 / 14%);
}

.sponsor-mobile__indicator {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #424242;
  background: #f9d94e;
  box-shadow: none;
  pointer-events: none;
  z-index: 4;
  transition: left 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.sponsor-mobile__timeline-track.has-mobile-indicator .sponsor-mobile__dot {
  display: none;
}

.sponsor-mobile__point-dot {
  width: 14px;
  height: 14px;
  border: 3px solid #424242;
  background: #131313;
  border-radius: 50%;
  box-sizing: border-box;
  margin: 0 auto 6px;
  flex-shrink: 0;
}

.sponsor-mobile__point.is-active .sponsor-mobile__point-dot {
  opacity: 0;
}

.sponsor-mobile__timeline-viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.sponsor-mobile__timeline-viewport .sponsor-mobile__timeline-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  margin: 0;
  overflow: visible;
  z-index: 3;
  pointer-events: none;
}

.page--brand-ambassador .sponsor-mobile__timeline-lower {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: start;
  column-gap: 10px;
  padding: 0;
}

.page--brand-ambassador .sponsor-mobile__timeline-bar {
  grid-template-rows: auto;
  row-gap: 0;
}

.page--brand-ambassador .sponsor-mobile__timeline-track {
  width: auto;
  height: 14px;
  margin: 0;
  overflow: visible;
}

.page--brand-ambassador .sponsor-mobile__timeline-points {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
  align-items: flex-start;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.page--brand-ambassador .sponsor-mobile__timeline-points::-webkit-scrollbar {
  display: none;
}

.page--brand-ambassador .sponsor-mobile__point {
  flex: 0 0 33.333%;
  min-width: 33.333%;
  max-width: 33.333%;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.sponsor-mobile__timeline-points {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.sponsor-mobile__point {
  flex: 1;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.sponsor-mobile__point:last-child {
  align-items: center;
  text-align: center;
}

.sponsor-mobile__date,
.sponsor-mobile__club {
  width: 100%;
  text-align: center;
}

.sponsor-mobile__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #2f2f2f;
  background: #000;
}
.sponsor-mobile__dot.is-active {
  border-color: #f9d94e;
  background: #f9d94e;
  box-shadow: 0 0 0 4px rgb(249 217 78 / 16%);
}
.sponsor-mobile__dot--a {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
}
.sponsor-mobile__dot--b {
  position: absolute;
  left: 60%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sponsor-mobile__date {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.sponsor-mobile__club {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: #f9d94e;
}

.sponsor-mobile__point:not(.is-active) .sponsor-mobile__club {
  color: rgb(255 255 255 / 85%);
}

.sponsor-mobile__hero {
  border: 1px solid #f9d94e;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  margin: 12px 0 14px;
}

.sponsor-mobile__hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.sponsor-mobile__kicker {
  margin: 0;
  color: #f9d94e;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.sponsor-mobile__headline {
  margin: 4px 0 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}

.sponsor-mobile__desc {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: rgb(255 255 255 / 88%);
}

.sponsor-mobile__video {
  border: 1px solid #f9d94e;
  border-radius: 10px;
  overflow: hidden;
  background: #0f0f0f;
}

.sponsor-mobile__video-meta {
  display: flex;
  gap: 10px;
  padding: 12px 12px 10px;
  align-items: flex-start;
}

.sponsor-mobile__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1d1d1d;
  border: 1px solid rgb(255 255 255 / 12%);
  flex-shrink: 0;
  position: relative;
}
.sponsor-mobile__avatar::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #f9d94e;
  opacity: 0.85;
}

.sponsor-mobile__video-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.sponsor-mobile__video-sub {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgb(255 255 255 / 70%);
}

.sponsor-mobile__iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #111;
}

/* -------------------------------------------------------------------------- */
/* Affiliate landing (affiliate.html)                                         */
/* -------------------------------------------------------------------------- */
body.page--affiliate {
  padding-top: 0;
}

body .page--affiliate {
  padding-top: 0;
}
.page--affiliate {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.page--affiliate main {
  display: block;
}

/* Header */
.page--affiliate .aff-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid rgb(249 217 78 / 18%);
}

.page--affiliate .aff-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  min-height: 64px;
  max-width: 1370px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page--affiliate .aff-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.page--affiliate .aff-header__brand-img {
  width: 120px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.page--affiliate .aff-header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.05;
}

.page--affiliate .aff-header__brand-line {
  display: block;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.94rem;
  color: #f9d94e;
  text-shadow: 0 0 28px rgb(249 217 78 / 22%);
}

.page--affiliate .aff-header__brand-line--secondary {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  opacity: 0.95;
}

.page--affiliate .aff-header__nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 36px);
  flex-wrap: wrap;
}

.page--affiliate .aff-header__link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.15s;
}

.page--affiliate .aff-header__link:hover {
  color: #f9d94e;
}

.page--affiliate .aff-header__link--active {
  color: #f9d94e;
}

.page--affiliate .aff-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.page--affiliate .aff-header__desktop-actions {
  display: none;
  align-items: center;
  gap: 14px;
}

.page--affiliate .aff-header__mobile-user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(70 70 70);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%);
}

.page--affiliate .aff-header__mobile-user img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: 0.95;
}

.page--affiliate .aff-header__login-register {
  padding: 10px 28px;
  font-size: 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
}

.page--affiliate .aff-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: rgb(54 54 54);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.page--affiliate .aff-header__lang:hover {
  background: rgb(62 62 62);
}

.page--affiliate .aff-header__lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.page--affiliate .aff-header__lang-label {
  white-space: nowrap;
}

.page--affiliate .aff-header__lang-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  opacity: 0.9;
  margin-top: 2px;
  flex-shrink: 0;
}

.page--affiliate .aff-header__lang--drawer {
  justify-content: center;
  margin-top: 6px;
  width: 100%;
}

.page--affiliate .aff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: opacity 0.15s, transform 0.1s;
  cursor: pointer;
}

.page--affiliate .aff-btn:hover {
  opacity: 0.92;
  text-decoration: none;
}

.page--affiliate .aff-btn--gold {
  background: linear-gradient(180deg, #f8d84d 0%, #c68308 100%);
  color: #000;
  border-color: #f9f48d;
}

.page--affiliate .aff-btn--outline {
  color: #f9d94e;
  border: 1px solid transparent;
  background:
    linear-gradient(rgb(0 0 0), rgb(0 0 0)) padding-box,
    linear-gradient(
      135deg,
      #fef9c8 0%,
      #f8d84d 38%,
      #c68308 72%,
      #7a4a0c 100%
    )
      border-box;
  background-clip: padding-box, border-box;
}

.page--affiliate .aff-btn--lg {
  padding: 14px 36px;
  font-size: 1rem;
}

.page--affiliate .aff-btn--sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.page--affiliate .aff-btn--block {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page--affiliate .aff-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.page--affiliate .aff-header__burger span {
  display: block;
  height: 2px;
  background: #f9d94e;
  border-radius: 1px;
}

.page--affiliate .aff-header__drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: rgb(0 0 0 / 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.page--affiliate .aff-header__drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.page--affiliate .aff-header__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(82vw, 300px);
  min-height: 100vh;
  padding: 18px 14px 18px;
  background: linear-gradient(180deg, #222327 0%, #1d1e22 100%);
  box-shadow: 18px 0 32px rgb(0 0 0 / 48%);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.24s ease;
}

.page--affiliate .aff-header__drawer.is-open .aff-header__drawer-nav {
  transform: translateX(0);
}

.page--affiliate .aff-header__drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page--affiliate .aff-header__drawer-logo {
  width: 84px;
  height: auto;
  object-fit: contain;
}

.page--affiliate .aff-header__drawer-slogan {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f9d94e;
  line-height: 1.15;
}

.page--affiliate .aff-header__drawer-banner {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 104px;
  border-radius: 2px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 25%) 52%, rgb(0 0 0 / 62%) 100%),
    url("../images/affiliate/slider/bg.png") center / cover no-repeat;
}

.page--affiliate .aff-header__drawer-banner-track {
  position: relative;
  flex: 1;
  min-height: 104px;
}

.page--affiliate .aff-header__drawer-banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.page--affiliate .aff-header__drawer-banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.page--affiliate .aff-header__drawer-banner-slide strong {
  font-size: 1rem;
  line-height: 1.28;
  max-width: 195px;
}

.page--affiliate .aff-header__drawer-banner-slide span {
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgb(255 255 255 / 88%);
  max-width: 180px;
}

.page--affiliate .aff-header__drawer-banner-arrow {
  align-self: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 6px;
  background: rgb(154 131 39 / 75%);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.page--affiliate .aff-header__drawer-banner-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgb(42 34 7);
  border-right: 2px solid rgb(42 34 7);
  transform: translate(-50%, -50%) rotate(45deg);
}

.page--affiliate .aff-header__drawer-banner-arrow--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.page--affiliate .aff-header__drawer-banner-arrow--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.page--affiliate .aff-header__drawer-login {
  margin: 6px 0 6px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 0.8rem;
}

.page--affiliate .aff-header__drawer-list {
  list-style: none;
  margin: 0;
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgb(53 55 59 / 72%) 0%, rgb(42 44 47 / 72%) 100%);
}

.page--affiliate .aff-header__drawer-list li + li {
  margin-top: 4px;
}

.page--affiliate .aff-header__drawer-list a,
.page--affiliate .aff-header__drawer-language {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.82rem;
  color: rgb(229 231 234 / 90%);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.page--affiliate .aff-header__drawer-language {
  grid-template-columns: 20px 1fr auto auto;
}

.page--affiliate .aff-header__drawer-list a::after,
.page--affiliate .aff-header__drawer-language::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid rgb(211 217 224 / 82%);
  border-right: 2px solid rgb(211 217 224 / 82%);
  transform: rotate(45deg);
}

.page--affiliate .aff-header__drawer-list img,
.page--affiliate .aff-header__drawer-language img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(76%) sepia(8%) saturate(203%) hue-rotate(154deg) brightness(92%) contrast(90%);
}

.page--affiliate .aff-header__drawer-language-current {
  font-size: 0.82rem;
  color: rgb(211 217 224 / 86%);
  margin-right: 6px;
}

/* Hero */
.page--affiliate .aff-hero {
  position: relative;
  padding: 50px 0;
  overflow: hidden;
  margin: 0 auto;
}

.page--affiliate .aff-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 100% 35%, rgb(220 168 38 / 22%) 0%, transparent 52%),
    radial-gradient(circle at 88% 65%, rgb(249 217 78 / 14%) 0%, transparent 38%),
    radial-gradient(circle at 72% 22%, rgb(255 200 100 / 10%) 0%, transparent 42%),
    radial-gradient(ellipse 70% 50% at 10% 55%, rgb(249 217 78 / 8%) 0%, transparent 48%),
    url("../images/affiliate/slider/bg.png") center center / cover no-repeat,
    #000;
}

.page--affiliate .aff-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23f9d94e' stroke-width='0.35' opacity='0.28'%3E%3Cpath d='M12 40 L180 28 M180 28 L164 156 M164 156 L52 172 M52 172 L12 40 M94 92 L164 156 M94 92 L180 28 M94 92 L52 172 M94 92 L12 40 M120 74 L164 156'/%3E%3C/g%3E%3Cg fill='%23f9d94e'%3E%3Ccircle cx='12' cy='40' r='1.8' opacity='0.55'/%3E%3Ccircle cx='180' cy='28' r='1.5' opacity='0.5'/%3E%3Ccircle cx='164' cy='156' r='1.6' opacity='0.5'/%3E%3Ccircle cx='52' cy='172' r='1.4' opacity='0.45'/%3E%3Ccircle cx='94' cy='92' r='2' opacity='0.7'/%3E%3Ccircle cx='120' cy='74' r='1.2' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px 420px;
  opacity: 0.55;
  pointer-events: none;
}

.page--affiliate .aff-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='6' cy='12' r='1' fill='%23f9d94e' opacity='0.3'/%3E%3Ccircle cx='44' cy='36' r='0.6' fill='%23fff' opacity='0.1'/%3E%3Ccircle cx='70' cy='58' r='0.9' fill='%23f9d94e' opacity='0.22'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.page--affiliate .aff-hero__inner {
  position: relative;
  z-index: 1;
  text-align: left;
  margin: 0 auto;
  min-height: min(420px, 62vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page--affiliate .aff-hero__copy {
  max-width: 640px;
}

.page--affiliate .aff-hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  letter-spacing: 0.01em;
}

.page--affiliate .aff-hero__title-line {
  display: block;
}

.page--affiliate .aff-hero__sub {
  margin: 0 0 28px;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: #fff;
  max-width: 520px;
}

.page--affiliate .aff-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
}

.page--affiliate .aff-btn--hero-secondary {
  background: transparent;
  color: #f9d94e;
  border-color: rgb(249 217 78 / 0.75);
  box-shadow: none;
}

.page--affiliate .aff-btn--hero-secondary:hover {
  background: rgb(249 217 78 / 8%);
  color: #f9d94e;
  opacity: 1;
}

.page--affiliate .aff-hero__pager {
  position: absolute;
  left: 0;
  right: auto;
  bottom: clamp(20px, 4vw, 0px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

.page--affiliate .aff-hero__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgb(74 74 74);
}

.page--affiliate .aff-hero__dot--active {
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
}

/* Strip banners */
.page--affiliate .aff-strip {
  padding: 100px 0;
  border-block: 1px solid rgb(249 217 78 / 15%);
}

.page--affiliate .aff-strip--glow {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 32%) 0%, rgb(0 0 0 / 54%) 100%),
    radial-gradient(circle at 50% 50%, rgb(249 217 78 / 10%) 0%, transparent 62%),
    url("../images/affiliate/slider/happy.png") center center / cover no-repeat,
    #0b0905;
}

.page--affiliate .aff-strip--glow .aff-strip__inner {
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.page--affiliate .aff-strip--glow .aff-strip__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  line-height: 1.1;
}

.page--affiliate .aff-strip--glow .aff-strip__text-top {
  display: block;
  font-size: clamp(0.85rem, 1.4vw, 1.2rem);
  font-weight: 500;
  color: rgb(255 255 255 / 90%);
  letter-spacing: 0.01em;
  padding: 10px 0;
}

.page--affiliate .aff-strip--glow .aff-strip__text-main {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  padding: 10px 0;
}

.page--affiliate .aff-strip--glow .aff-btn--sm {
  padding: 8px 18px;
  font-size: 0.74rem;
}

.page--affiliate .aff-strip--grid {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 40%) 0%, rgb(0 0 0 / 55%) 100%),
    url("../images/affiliate/bgregister.png") center center / cover no-repeat,
    #050505;
  border-block: none;
}

.page--affiliate .aff-strip--grid .aff-strip__inner {
  min-height: 120px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.page--affiliate .aff-strip--grid .aff-strip__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  max-width: 520px;
  margin-inline: auto;
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
}

.page--affiliate .aff-strip--grid .aff-strip__copy > * {
  padding: 10px 0;
}

.page--affiliate .aff-strip--grid .aff-strip__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  position: relative;
  padding-bottom: 20px;
}

.page--affiliate .aff-strip--grid .aff-strip__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
  pointer-events: none;
}

.page--affiliate .aff-strip--grid .aff-strip__subtitle {
  margin: 0;
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

.page--affiliate .aff-strip--grid .aff-strip__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 600;
  color: rgb(255 255 255 / 88%);
  text-transform: capitalize;
}

.page--affiliate .aff-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: center;
}

@media (min-width: 768px) {
  .page--affiliate .aff-strip__inner {
    flex-direction: row;
    text-align: left;
  }
}

.page--affiliate .aff-strip__text {
  margin: 0;
  font-weight: 600;
  color: rgb(255 255 255 / 92%);
}

.page--affiliate .aff-strip__text span {
  padding: 10px 0;
}

.page--affiliate .aff-strip__text--wide {
  max-width: 640px;
}

.page--affiliate .aff-strip--grid .aff-btn--sm {
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: #f5cc46;
  background: rgb(10 10 10 / 80%);
  border: 1px solid rgb(196 151 12 / 85%);
  box-shadow: none;
}

@media (min-width: 768px) {
  .page--affiliate .aff-strip--grid .aff-strip__inner {
    text-align: center;
  }
}

/* Sections */
.page--affiliate .aff-section {
  padding: 52px 16px;
}

.page--affiliate .aff-section__title {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.6vw, 1.5rem);
  font-weight: 800;
  background: linear-gradient(180deg, #f8d84d 0%, #c68308 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: left;
}

.page--affiliate .aff-section__lead {
  margin: 0 0 22px;
  max-width: 540px;
  text-align: left;
  color: rgb(255 255 255 / 72%);
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 20px;
}

.page--affiliate .aff-section__lead::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40%;
  max-width: none;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
  pointer-events: none;
}

.page--affiliate .aff-section__lead.aff-section__lead--no-line::after {
  display: none;
}

.page--affiliate .aff-section__cta {
  margin-top: 32px;
  text-align: center;
}

/* Easy money */
.page--affiliate .aff-section.aff-easy {
  max-width: 1200px;
  margin: 40px auto 60px;
}

.page--affiliate .aff-section.aff-easy .aff-section__title,
.page--affiliate .aff-section.aff-easy .aff-section__lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page--affiliate .aff-easy__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .page--affiliate .aff-easy__grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.page--affiliate .aff-easy__visual {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.page--affiliate .aff-easy__banner {
  width: 100%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 16px 40px rgb(249 217 78 / 12%));
}

.page--affiliate .aff-easy__visual-caption {
  display: flex;
  justify-content: center;
}

.page--affiliate .aff-easy__visual-tag {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background: rgb(0 0 0 / 35%);
  color: #f9d94e;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2vw, 1.35rem);
  line-height: 1;
}

.page--affiliate .aff-easy__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page--affiliate .aff-easy__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.page--affiliate .aff-easy__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(59 59 59) 0%, rgb(59 59 59) 100%);
  border: 1px solid rgb(196 151 12);
  display: grid;
  place-items: center;
}

.page--affiliate .aff-easy__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.page--affiliate .aff-easy__feat-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.page--affiliate .aff-easy__feat-desc {
  margin: 0;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 72%);
  line-height: 1.55;
}

/* Commission */
.page--affiliate .aff-commission__grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

@media (min-width: 900px) {
  .page--affiliate .aff-commission__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.page--affiliate .aff-commission__copy p {
  margin: 0 0 14px;
  color: rgb(255 255 255 / 78%);
  line-height: 1.6;
}

.page--affiliate .aff-commission__copy p + p {
  margin-top: 24px;
  position: relative;
}

.page--affiliate .aff-commission__copy p + p::before {
  content: "";
  position: absolute;
  left: 0;
  top: -14px;
  width: 170px;
  height: 10px;
  background: url("../images/affiliate/line-earning.png") no-repeat left center / contain;
  pointer-events: none;
}

.page--affiliate .aff-commission__eyebrow {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgb(255 255 255 / 84%);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.page--affiliate .aff-commission__eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 10px;
  background: url("../images/affiliate/line-earning.png") no-repeat left center / contain;
  pointer-events: none;
}

.page--affiliate .aff-commission .aff-section__title {
  font-size: 1.5rem;
  margin: 0 0 14px;
}

.page--affiliate .aff-commission__copy .aff-btn {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
  font-size: 0.85rem;
}

.page--affiliate .aff-commission__card {
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 18px;
  background: linear-gradient(180deg, #1a1b1d 0%, #141517 100%);
  padding: 12px 16px 10px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%), 0 12px 28px rgb(0 0 0 / 42%);
}

.page--affiliate .aff-commission__card-top {
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 12px;
  padding: 14px 10px 12px;
  text-align: center;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 35%) 0%, rgb(0 0 0 / 55%) 100%),
    url("../images/affiliate/erning_steps.png") center center / cover no-repeat;
}

.page--affiliate .aff-commission__logo {
  width: 86px;
  height: auto;
}

.page--affiliate .aff-commission__card-title {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f0d372;
}

.page--affiliate .aff-commission__formula {
  margin: 8px auto 8px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgb(245 214 119 / 95%);
  line-height: 1.2;
  white-space: nowrap;
  padding: 8px 12px 16px;
  position: relative;
  max-width: 86%;
}

.page--affiliate .aff-commission__formula::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40%;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
  pointer-events: none;
}

.page--affiliate .aff-link {
  color: #f9d94e;
  font-weight: 600;
  text-decoration: none;
}

.page--affiliate .aff-link:hover {
  text-decoration: underline;
}

.page--affiliate .aff-card {
  background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
  border-radius: 14px;
  padding: 20px;
}

.page--affiliate .aff-card--wide {
  margin-top: 20px;
}

.page--affiliate .aff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.page--affiliate .aff-table th,
.page--affiliate .aff-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.page--affiliate .aff-table th {
  color: #f9d94e;
  font-weight: 700;
  background: rgb(249 217 78 / 8%);
}

.page--affiliate .aff-table--commission th,
.page--affiliate .aff-table--commission td {
  padding: 9px 12px;
  font-size: 0.86rem;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
}

.page--affiliate .aff-table--commission th {
  color: rgb(255 255 255 / 88%);
  background: transparent;
  font-weight: 600;
}

.page--affiliate .aff-table--commission th:last-child,
.page--affiliate .aff-table--commission td:last-child {
  text-align: right;
}

.page--affiliate .aff-table-wrap {
  overflow-x: auto;
}

.page--affiliate .aff-table--calc th,
.page--affiliate .aff-table--calc td {
  white-space: nowrap;
}

.page--affiliate .aff-calculation {
  padding-top: 26px;
}

.page--affiliate .aff-calculation .aff-section__title {
  text-align: center;
  margin-bottom: 16px;
}

.page--affiliate .aff-calculation__eyebrow {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1rem;
  color: rgb(255 255 255 / 88%);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 20px;
}

.page--affiliate .aff-calculation__eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
  pointer-events: none;
}

.page--affiliate .aff-table-wrap--calculation {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page--affiliate .aff-table--calc {
  font-size: 0.84rem;
}

.page--affiliate .aff-table--calc th,
.page--affiliate .aff-table--calc td {
  padding: 8px 14px;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  text-align: center;
}

.page--affiliate .aff-table--calc th {
  color: rgb(255 255 255 / 84%);
  background: rgb(255 255 255 / 12%);
  font-weight: 500;
}

.page--affiliate .aff-table--calc td {
  color: rgb(255 255 255 / 90%);
}

.page--affiliate .aff-calculation__k9 {
  color: #f4cf58;
  font-weight: 700;
}

.page--affiliate .aff-calculation__negative {
  color: #d63434;
}

.page--affiliate .aff-calculation__terms {
  margin: 12px 0 6px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgb(255 255 255 / 84%);
}

.page--affiliate .aff-calculation__note {
  margin: 0;
  text-align: center;
  font-size: 0.66rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 52%);
}

/* How it works */
.page--affiliate .aff-how__grid {
  display: grid;
  gap: 28px;
  margin-top: 10px;
}

@media (min-width: 900px) {
  .page--affiliate .aff-how__grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
  }
}

.page--affiliate .aff-how__eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 88%);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.page--affiliate .aff-how__eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 10px;
  background: url("../images/affiliate/line-earning.png") no-repeat left center / contain;
}

.page--affiliate .aff-how .aff-section__title {
  margin: 0 0 14px;
}

.page--affiliate .aff-how__step-desc {
  margin: 0 0 12px;
  font-size: 0.84rem;
  color: rgb(255 255 255 / 72%);
  line-height: 1.45;
}

.page--affiliate .aff-how__stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page--affiliate .aff-how__stat {
  background: linear-gradient(180deg, #202125 0%, #17181b 100%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page--affiliate .aff-how__stat span {
  font-size: 0.72rem;
  color: rgb(255 255 255 / 82%);
}

.page--affiliate .aff-how__stat strong {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  color: #f2c941;
}

.page--affiliate .aff-how__left .aff-btn--sm {
  margin-top: 14px;
  padding: 8px 20px;
}

.page--affiliate .aff-how__circles {
  display: grid;
  gap: 16px;
}

.page--affiliate .aff-how__circle-wrap {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, #202125 0%, #131406 100%);
  border: 1px solid rgb(59 59 59);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
}

.page--affiliate .aff-how__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background:
    radial-gradient(circle at 50% 50%, #1a1c22 0 52%, transparent 53%),
    conic-gradient(from -90deg, #f7d44b 0deg, #c5860a 360deg);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 8%);
}

.page--affiliate .aff-how__circle--33 {
  background:
    radial-gradient(circle at 50% 50%, #1a1c22 0 52%, transparent 53%),
    conic-gradient(from -90deg, #f8de67 0deg, #e0ad2a 70deg, #bf7d07 120deg, #45474f 120deg 360deg);
}

.page--affiliate .aff-how__circle--66 {
  background:
    radial-gradient(circle at 50% 50%, #1a1c22 0 52%, transparent 53%),
    conic-gradient(from -90deg, #f8de67 0deg, #e0ad2a 140deg, #bf7d07 240deg, #45474f 240deg 360deg);
}

.page--affiliate .aff-how__card-copy h4 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: #f2c941;
}

.page--affiliate .aff-how__card-copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  color: rgb(255 255 255 / 75%);
}

@media (max-width: 640px) {
  .page--affiliate .aff-how__stats {
    grid-template-columns: 1fr;
  }

  .page--affiliate .aff-how__circle-wrap {
    border-radius: 18px;
    grid-template-columns: 56px 1fr;
  }
}

/* Why grid */
.page--affiliate .aff-why {
  padding-top: 24px;
}

.page--affiliate .aff-why__eyebrow {
  margin: 0 0 10px;
  text-align: center;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 86%);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 16px;
}

.page--affiliate .aff-why__eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
}

.page--affiliate .aff-why .aff-section__title {
  text-align: center;
}

.page--affiliate .aff-why__grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  align-items: start;
}

@media (min-width: 768px) {
  .page--affiliate .aff-why__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page--affiliate .aff-why__card {
  background:
    linear-gradient(90deg, rgb(36 31 15 / 45%) 0%, rgb(18 18 18 / 85%) 50%, rgb(52 38 7 / 28%) 100%),
    #121212;
  border: 1px solid rgb(62 62 62);
  border-radius: 12px;
  padding: 14px 12px 12px;
  text-align: left;
}

.page--affiliate .aff-why__ico {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

.page--affiliate .aff-why__ico img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.page--affiliate .aff-why__card h3 {
  margin: 0 0 8px;
  display: inline;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgb(255 255 255 / 92%);
}

.page--affiliate .aff-why__card p {
  margin: 8px 0 2px;
  font-size: 0.76rem;
  color: rgb(255 255 255 / 62%);
  line-height: 1.35;
}

.page--affiliate .aff-why__card--expert .aff-why__lead {
  margin: 12px 0 10px;
  font-size: 8px;
  text-transform: capitalize;
  color: rgb(255 255 255 / 78%);
}

.page--affiliate .aff-why__card--expert p {
  margin: 0 0 8px;
  color: rgb(255 255 255 / 72%);
}

.page--affiliate .aff-why__more {
  font-size: 0.76rem;
  color: rgb(255 255 255 / 78%);
  text-decoration: underline;
}

/* FAQ */
.page--affiliate .aff-faq .aff-section__title {
  text-align: center;
  margin-bottom: 8px;
}

.page--affiliate .aff-faq__eyebrow {
  margin: 0 0 10px;
  text-align: center;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 90%);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 16px;
}

.page--affiliate .aff-faq__eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
}

.page--affiliate .aff-faq__intro {
  max-width: 740px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: 0.74rem;
  color: rgb(255 255 255 / 70%);
  line-height: 1.35;
}

.page--affiliate .aff-faq__tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  justify-content: center;
  margin: 18px auto 14px;
  width: fit-content;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 14%);
  background: #1a1b1f;
  overflow-x: auto;
}

.page--affiliate .aff-faq__tab {
  padding: 7px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgb(255 255 255 / 85%);
  font-weight: 500;
  font-size: 0.74rem;
  cursor: pointer;
  white-space: nowrap;
}

.page--affiliate .aff-faq__tab.is-active {
  border: 1px solid rgb(255 255 255 / 16%);
  background: #4a4b4f;
  color: #fff;
}

.page--affiliate .aff-faq__panel {
  max-width: 1060px;
  margin: 0 auto;
}

.page--affiliate .aff-faq__qa-grid {
  display: grid;
  gap: 10px 12px;
  align-items: start;
}

@media (min-width: 900px) {
  .page--affiliate .aff-faq__qa-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page--affiliate .aff-faq__item {
  border: 1px solid rgb(59 59 59);
  border-radius: 10px;
  margin: 0;
  background: linear-gradient(135deg, rgb(17 17 16) 0%, rgb(50 41 0) 100%);
  padding: 0 12px;
}

.page--affiliate .aff-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 44px 12px 0;
  font-weight: 700;
  font-size: 0.82rem;
  position: relative;
  text-transform: capitalize;
}

.page--affiliate .aff-faq__item summary::-webkit-details-marker {
  display: none;
}

.page--affiliate .aff-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgb(196 151 12);
  background: rgb(196 151 12 / 25%);
  color: #f8d84d;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page--affiliate .aff-faq__item[open] summary::after {
  content: "−";
}

.page--affiliate .aff-faq__item p {
  margin: 0 0 12px;
  color: rgb(255 255 255 / 74%);
  font-size: 0.75rem;
  line-height: 1.4;
}

.page--affiliate .aff-faq .aff-section__cta {
  margin-top: 16px;
}

.page--affiliate .aff-faq .aff-btn--outline {
  color: #f9d94e;
  font-size: 0.76rem;
  padding: 8px 18px;
}

/* Partners */
.page--affiliate .aff-partners {
  padding-top: 20px;
  background: #131414;
}

.page--affiliate .aff-partners .aff-section__title {
  text-align: center;
  margin-bottom: 10px;
}

.page--affiliate .aff-partners__eyebrow {
  margin: 0 0 10px;
  text-align: center;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 90%);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 16px;
}

.page--affiliate .aff-partners__eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
}

.page--affiliate .aff-partners__intro {
  max-width: 920px;
  margin: 0 auto 8px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgb(255 255 255 / 70%);
}

.page--affiliate .aff-partners .footer-partners-grid {
  margin-top: 28px;
}

.page--affiliate .aff-partners__actions {
  display: none;
}

/* Contact */
.page--affiliate .aff-contact .aff-section__title {
  text-align: center;
  margin-bottom: 6px;
}

.page--affiliate .aff-contact__eyebrow {
  margin: 0 0 10px;
  text-align: center;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 88%);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 16px;
}

.page--affiliate .aff-contact__eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
}

.page--affiliate .aff-contact__sub {
  margin: 0 0 14px;
  text-align: center;
  color: rgb(255 255 255 / 75%);
  font-size: 0.8rem;
}

.page--affiliate .aff-contact__grid {
  display: grid;
  gap: 20px;
  margin: 14px auto 0;
}

@media (min-width: 768px) {
  .page--affiliate .aff-contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page--affiliate .aff-contact__card {
  background:
    linear-gradient(90deg, rgb(18 17 16) 0%, rgb(23 19 1) 100%);
  border-radius: 12px;
  padding: 16px 20px;
  min-height: 340px;
}

.page--affiliate .aff-contact__card-title {
  margin: 0 0 14px;
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
}

.page--affiliate .aff-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page--affiliate .aff-contact__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page--affiliate .aff-contact__chan {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.page--affiliate .aff-contact__dot {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.page--affiliate .aff-contact__dot img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.page--affiliate .aff-contact__dot--telegram { background: #269cd8; }
.page--affiliate .aff-contact__dot--whatsapp { background: #1dac63; }
.page--affiliate .aff-contact__dot--line { background: #2ebf4f; }
.page--affiliate .aff-contact__dot--zalo { background: #2f7cff; }
.page--affiliate .aff-contact__dot--wechat { background: #2ebf7c; }

.page--affiliate .aff-contact .aff-btn--sm {
  font-size: 0.78rem;
  padding: 7px 20px;
  border-radius: 999px;
  color: #f9d94e;
  border: 1px solid transparent;
  background:
    linear-gradient(90deg, rgb(18 17 16) 0%, rgb(23 19 1) 100%) padding-box,
    linear-gradient(
      135deg,
      #fef9c8 0%,
      #f8d84d 38%,
      #c68308 72%,
      #7a4a0c 100%
    )
      border-box;
  background-clip: padding-box, border-box;
}

.page--affiliate .aff-contact__card--email {
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
}

.page--affiliate .aff-contact__scan {
  margin: 4px 0 12px;
  color: #f9d94e;
  font-size: 2.2rem;
}

.page--affiliate .aff-contact__hint {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: rgb(255 255 255 / 68%);
  line-height: 1.35;
  max-width: 440px;
}

.page--affiliate .aff-contact__hours {
  margin: 14px 0 8px;
  text-align: center;
  font-weight: 700;
  color: rgb(255 255 255 / 92%);
}

.page--affiliate .aff-contact__online {
  margin: 0;
  text-align: center;
  color: #f1de87;
  font-size: 0.76rem;
}

.page--affiliate .aff-contact__online span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1dcc45;
  margin-right: 6px;
  vertical-align: 1px;
}

/* Footer */
.page--affiliate .aff-footer {
  background: #111111;
  padding: 56px 16px 0;
}

.page--affiliate .aff-footer__inner {
  margin-inline: auto;
}

.page--affiliate .aff-footer__grid {
  display: grid;
  gap: 40px 24px;
  align-items: start;
}

@media (min-width: 640px) {
  .page--affiliate .aff-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page--affiliate .aff-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .page--affiliate .aff-footer__grid {
    grid-template-columns:
      minmax(128px, 1fr)
      minmax(150px, 1.08fr)
      minmax(172px, 1.15fr)
      minmax(140px, 1fr)
      minmax(120px, 0.92fr)
      minmax(120px, 0.92fr);
    gap: 36px 24px;
  }

  .page--affiliate .aff-footer__col--brand {
    grid-column: auto;
  }
}

.page--affiliate .aff-footer__col--brand {
  text-align: center;
}

@media (min-width: 1024px) {
  .page--affiliate .aff-footer__col--brand {
    text-align: left;
  }
}

.page--affiliate .aff-footer__brand-link {
  display: inline-block;
  text-decoration: none;
}

.page--affiliate .aff-footer__logo {
  display: block;
  height: auto;
  width: min(180px, 88vw);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .page--affiliate .aff-footer__logo {
    margin-inline: 0;
  }
}

.page--affiliate .aff-footer__brand-tag {
  margin: 0 auto;
  font-size: clamp(1.5rem, 1.35vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fef9c8 0%, #f8d84d 45%, #c68308 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page--affiliate .aff-footer__heading {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}

.page--affiliate .aff-footer__heading--sub {
  margin-top: 26px;
}

.page--affiliate .aff-footer__heading--inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.page--affiliate .aff-footer__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.page--affiliate .aff-footer__verified img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page--affiliate .aff-footer__col--license {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .page--affiliate .aff-footer__col--license {
    align-items: flex-start;
  }
}

.page--affiliate .aff-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page--affiliate .aff-footer__links--chevron a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(200 200 200);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 6px 0;
}

.page--affiliate .aff-footer__links--chevron a::before {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  background: url("../images/icon/next.png") no-repeat center / contain;
}

.page--affiliate .aff-footer__links--chevron a:hover {
  color: #f9d94e;
}

.page--affiliate .aff-footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.page--affiliate .aff-footer__pay-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

.page--affiliate .aff-footer__follow-text {
  margin: 0 0 18px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 55%);
  max-width: 280px;
}

@media (min-width: 1024px) {
  .page--affiliate .aff-footer__follow-text {
    max-width: none;
  }
}

.page--affiliate .aff-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page--affiliate .aff-footer__social {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
}

.page--affiliate .aff-footer__social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page--affiliate .aff-footer__license-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .page--affiliate .aff-footer__license-wrap {
    justify-content: flex-start;
  }
}

.page--affiliate .aff-footer__license-badge {
  width: min(172px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
}

.page--affiliate .aff-footer__col--qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .page--affiliate .aff-footer__col--qr {
    align-items: flex-start;
  }
}

.page--affiliate .aff-footer__qr-frame {
  margin-top: 14px;
  display: inline-block;
  padding: 14px;
  border-radius: 14px;
  align-self: center;
}

@media (min-width: 1024px) {
  .page--affiliate .aff-footer__qr-frame {
    align-self: flex-start;
  }
}

.page--affiliate .aff-footer__qr-img {
  display: block;
  width: min(148px, 100%);
  height: auto;
  border-radius: 8px;
}

.page--affiliate .aff-footer__bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.page--affiliate .aff-footer__copy {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgb(255 255 255 / 45%);
}

@media (max-width: 767px) {
  body.page--affiliate {
    padding-top: 0;
    overflow-x: hidden;
  }

  .page--affiliate {
    overflow-x: hidden;
  }

  .page--affiliate .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .page--affiliate .aff-header,
  .page--affiliate .aff-hero,
  .page--affiliate .aff-strip,
  .page--affiliate .aff-section,
  .page--affiliate .aff-footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }

  .page--affiliate .aff-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    min-height: 56px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .page--affiliate .aff-header__brand {
    justify-self: center;
    gap: 8px;
  }

  .page--affiliate .aff-header__brand-img {
    width: 92px;
  }

  .page--affiliate .aff-header__brand-line {
    font-size: 0.8rem;
  }

  .page--affiliate .aff-header__brand-line--secondary {
    font-size: 0.62rem;
  }

  .page--affiliate .aff-header__end {
    justify-self: end;
  }

  .page--affiliate .aff-btn {
    font-size: 0.9rem;
    padding: 10px 25px;
    border-radius: 25px;
  }

  .page--affiliate .aff-btn--lg {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.82rem;
  }

  .page--affiliate .aff-hero {
    margin: 0;
    min-height: 520px;
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .page--affiliate .aff-hero__inner {
    min-height: 500px;
    justify-content: flex-start;
    gap: 16px;
  }

  .page--affiliate .aff-hero__title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .page--affiliate .aff-hero__sub {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 18px;
    max-width: 320px;
  }

  .page--affiliate .aff-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .page--affiliate .aff-hero__copy {
    max-width: none;
    padding-top: 50px;
  }

  .page--affiliate .aff-hero .aff-btn--lg {
    width: 100%;
    max-width: none;
    font-size: 0.82rem;
    padding: 10px 0;
  }

  .page--affiliate .aff-hero__pager {
    left: 50%;
    right: auto;
    bottom: 14px;
    transform: translateX(-50%);
    padding-left: 0;
    gap: 8px;
  }

  .page--affiliate .aff-hero__dot {
    width: 8px;
    height: 8px;
  }

  .page--affiliate .aff-hero__dot--active {
    width: 24px;
    height: 8px;
  }

  .page--affiliate .aff-strip {
    padding: 56px 0;
  }

  .page--affiliate .aff-strip--glow {
    min-height: 320px;
    background-position: center;
  }

  .page--affiliate .aff-strip--glow .aff-strip__inner {
    min-height: 280px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 14px;
  }

  .page--affiliate .aff-strip--glow .aff-strip__text {
    width: 100%;
    align-items: flex-start;
    gap: 8px;
  }

  .page--affiliate .aff-strip--glow .aff-strip__text-top {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0;
  }

  .page--affiliate .aff-strip--glow .aff-strip__text-main {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
  }

  .page--affiliate .aff-strip--glow .aff-btn--sm {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #f9d94e;
    border: 1px solid rgb(196 151 12 / 85%);
    background: rgb(12 12 12 / 55%);
  }

  .page--affiliate .aff-strip--grid {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .page--affiliate .aff-strip--grid .aff-strip__title {
    font-size: 1.5rem;
  }

  .page--affiliate .aff-strip--grid .aff-strip__subtitle {
    font-size: clamp(0.9rem, 1vw, 0.84rem);
  }

  .page--affiliate .aff-strip--grid .aff-strip__text {
    font-size: 0.8rem;
  }

  .page--affiliate .aff-section {
    padding: 52px 0;
  }

  .page--affiliate .aff-section__title {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }

  .page--affiliate .aff-section__lead,
  .page--affiliate .aff-easy__feat-desc,
  .page--affiliate .aff-commission__copy p,
  .page--affiliate .aff-how__step-desc,
  .page--affiliate .aff-faq__intro,
  .page--affiliate .aff-partners__intro,
  .page--affiliate .aff-contact__hint {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .page--affiliate .aff-easy__grid,
  .page--affiliate .aff-commission__grid,
  .page--affiliate .aff-how__grid {
    gap: 18px;
  }

  .page--affiliate .aff-commission__copy {
    text-align: left;
  }

  .page--affiliate .aff-commission__eyebrow {
    display: block;
    text-align: center;
    margin: 0 0 12px;
    padding-bottom: 14px;
    font-size: 0.9rem;
  }

  .page--affiliate .aff-commission__eyebrow::after {
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    background-position: center;
  }

  .page--affiliate .aff-commission .aff-section__title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
  }

  .page--affiliate .aff-commission__copy p {
    font-size: 0.8rem;
    line-height: 1.35;
    text-transform: capitalize;
    margin-bottom: 12px;
  }

  .page--affiliate .aff-commission__copy p + p {
    margin-top: 22px;
  }

  .page--affiliate .aff-commission__copy p + p::before {
    width: 180px;
    top: -12px;
  }

  .page--affiliate .aff-commission__copy .aff-btn {
    display: block;
    min-width: 224px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .page--affiliate .aff-commission__card {
    border-radius: 18px;
    padding: 10px 10px 12px;
  }

  .page--affiliate .aff-commission__card-top {
    border-radius: 10px;
    padding: 16px 8px 12px;
  }

  .page--affiliate .aff-commission__logo {
    width: 94px;
  }

  .page--affiliate .aff-commission__card-title {
    font-size: 1rem;
    margin-top: 8px;
  }

  .page--affiliate .aff-commission__formula {
    font-size: 0.95rem;
    max-width: 100%;
    padding: 12px 8px 14px;
  }

  .page--affiliate .aff-table--commission th,
  .page--affiliate .aff-table--commission td {
    font-size: 0.9rem;
    padding: 10px 12px;
    text-align: center;
  }

  .page--affiliate .aff-table--commission th:last-child,
  .page--affiliate .aff-table--commission td:last-child {
    text-align: center;
  }

  .page--affiliate .aff-table--calc th,
  .page--affiliate .aff-table--calc td {
    font-size: 0.68rem;
    padding: 8px 6px;
    white-space: nowrap;
  }

  .page--affiliate .aff-how__eyebrow {
    display: block;
    text-align: center;
    margin: 0 0 12px;
    font-size: 0.9rem;
    padding-bottom: 14px;
  }

  .page--affiliate .aff-how__eyebrow::after {
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    background-position: center;
  }

  .page--affiliate .aff-how .aff-section__title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
  }

  .page--affiliate .aff-how__step-desc {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 12px;
    text-transform: capitalize;
  }

  .page--affiliate .aff-how__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .page--affiliate .aff-how__stat {
    min-height: 82px;
    padding: 14px 12px;
    border-radius: 12px;
  }

  .page--affiliate .aff-how__stat span {
    font-size: 0.8rem;
  }

  .page--affiliate .aff-how__stat strong {
    font-size: 2.45rem;
  }

  .page--affiliate .aff-how__left .aff-btn--sm {
    display: block;
    width: fit-content;
    min-width: 138px;
    margin: 16px auto 0;
    text-align: center;
    font-size: 0.85rem;
    padding: 10px 24px;
  }

  .page--affiliate .aff-how__circles {
    gap: 10px;
  }

  .page--affiliate .aff-how__circle-wrap {
    gap: 12px;
    grid-template-columns: 88px 1fr;
    border-radius: 999px;
    padding: 10px 14px 10px 10px;
  }

  .page--affiliate .aff-how__circle {
    width: 78px;
    height: 78px;
    font-size: 1rem;
  }

  .page--affiliate .aff-how__card-copy h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .page--affiliate .aff-how__card-copy p {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .page--affiliate .aff-why__grid,
  .page--affiliate .aff-faq__qa-grid {
    gap: 8px;
  }

  .page--affiliate .aff-why__card {
    padding: 10px 10px 9px;
  }

  .page--affiliate .aff-why__card h3 {
    font-size: 0.84rem;
  }

  .page--affiliate .aff-why__card p {
    font-size: 0.7rem;
    margin-top: 6px;
  }

  .page--affiliate .aff-faq {
    background: #000;
  }

  .page--affiliate .aff-faq .aff-section__title {
    font-size: clamp(1.35rem, 4.2vw, 1.5rem);
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .page--affiliate .aff-faq__intro {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgb(255 255 255 / 82%);
    margin-bottom: 16px;
    padding: 0 2px;
  }

  .page--affiliate .aff-faq__tabs {
    width: 100%;
    max-width: 100%;
    margin: 16px auto 12px;
    padding: 5px 6px;
    gap: 2px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 999px;
    border: 1px solid rgb(255 255 255 / 12%);
    background: rgb(26 27 31 / 94%);
    box-sizing: border-box;
  }

  .page--affiliate .aff-faq__tabs::-webkit-scrollbar {
    display: none;
  }

  .page--affiliate .aff-faq__tab {
    flex: 0 0 auto;
    font-size: 0.8rem;
    padding: 10px 30px;
    color: rgb(255 255 255 / 62%);
    background: transparent;
    border: none;
    border-radius: 999px;
    font-weight: 500;
  }

  .page--affiliate .aff-faq__tab.is-active {
    background: #4a4b4f;
    border: 1px solid rgb(255 255 255 / 16%);
    color: #fff;
  }

  .page--affiliate .aff-faq__item {
    padding: 0 11px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, rgb(17 17 16) 0%, rgb(26 21 0) 100%);
    box-shadow: none;
  }

  .page--affiliate .aff-faq__item summary {
    font-size: 0.78rem;
    padding: 12px 38px 12px 0;
    color: #fff;
  }

  .page--affiliate .aff-faq__item summary::after {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgb(196 151 12 / 35%);
    background: rgb(95 72 22 / 55%);
  }

  .page--affiliate .aff-faq__item[open] summary::after {
    background: rgb(110 85 28 / 65%);
  }

  .page--affiliate .aff-faq__item p {
    font-size: 0.72rem;
    line-height: 1.42;
    margin-bottom: 12px;
    color: rgb(255 255 255 / 76%);
  }

  .page--affiliate .aff-faq .aff-section__cta {
    margin-top: 20px;
    text-align: center;
  }

  .page--affiliate .aff-faq .aff-btn--outline {
    display: inline-flex;
    justify-content: center;
    min-width: 200px;
    padding: 10px 22px;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .page--affiliate .aff-partners {
    background: #111;
    padding-top: 8px;
  }

  .page--affiliate .aff-partners .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .page--affiliate .aff-partners__eyebrow {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 6px;
    padding-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgb(255 255 255 / 92%);
    text-align: center;
    left: auto;
    transform: none;
  }

  .page--affiliate .aff-partners__eyebrow::after {
    left: 50%;
    width: min(268px, 88vw);
    height: 1px;
    bottom: 4px;
    background: linear-gradient(
      90deg,
      transparent,
      rgb(248 216 77 / 25%) 12%,
      rgb(248 216 77 / 95%) 50%,
      rgb(248 216 77 / 25%) 88%,
      transparent
    );
    background-repeat: no-repeat;
    transform: translateX(-50%);
  }

  .page--affiliate .aff-partners .aff-section__title {
    font-size: clamp(1.2rem, 4.5vw, 1.42rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    text-align: center;
    background: linear-gradient(180deg, #f8d84d 0%, #c68308 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .page--affiliate .aff-partners__intro {
    max-width: 36rem;
    margin: 0 auto 6px;
    padding: 0 10px;
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgb(255 255 255 / 88%);
    text-align: center;
  }

  .page--affiliate .aff-partners .footer-partners-grid {
    margin-top: 22px;
  }

  .page--affiliate .aff-partners__actions {
    width: 100%;
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  .page--affiliate .aff-partners__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .page--affiliate .aff-partners__more:hover {
    color: #fff;
  }

  .page--affiliate .aff-partners__more:focus-visible {
    outline: 2px solid rgb(248 216 77 / 55%);
    outline-offset: 3px;
  }

  .page--affiliate .aff-partners__more-icon {
    display: block;
    width: 10px;
    height: 10px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .page--affiliate .aff-partners.is-expanded .aff-partners__more-icon {
    transform: rotate(180deg);
  }

  .page--affiliate .aff-contact__eyebrow {
    display: block;
    left: auto;
    transform: none;
  }

  .page--affiliate .aff-contact__eyebrow::after {
    width: 50%;
  }

  .page--affiliate .aff-contact__grid {
    gap: 12px;
  }

  .page--affiliate .aff-contact__card {
    min-height: 0;
    padding: 12px;
  }

  .page--affiliate .aff-contact__card-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .page--affiliate .aff-contact__chan {
    gap: 9px;
    font-size: 0.78rem;
  }

  .page--affiliate .aff-contact__dot {
    width: 26px;
    height: 26px;
  }

  .page--affiliate .aff-contact__dot img {
    width: 24px;
    height: 24px;
  }

  .page--affiliate .aff-contact .aff-btn--sm {
    font-size: 0.66rem;
    padding: 5px 12px;
  }

  .page--affiliate .aff-footer {
    background: #000;
    padding-top: 32px;
  }

  .page--affiliate .aff-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .page--affiliate .aff-footer__col--brand {
    grid-column: auto;
    text-align: center;
  }

  .page--affiliate .aff-footer__col:not(.aff-footer__col--brand) {
    text-align: left;
  }

  .page--affiliate .aff-footer__heading {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .page--affiliate .aff-footer__heading--sub {
    margin-top: 28px;
  }

  .page--affiliate .aff-footer__heading--inline {
    justify-content: flex-start;
    gap: 6px;
  }

  .page--affiliate .aff-footer__links--chevron {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 2px;
    justify-items: start;
  }

  .page--affiliate .aff-footer__links--chevron li {
    width: 100%;
  }

  .page--affiliate .aff-footer__links--chevron a {
    justify-content: flex-start;
    color: rgb(255 255 255 / 92%);
  }

  .page--affiliate .aff-footer__payments {
    justify-content: flex-start;
  }

  .page--affiliate .aff-footer__follow-text {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    text-align: left;
    color: rgb(255 255 255 / 55%);
  }

  .page--affiliate .aff-footer__socials {
    justify-content: flex-start;
  }

  .page--affiliate .aff-footer__col--license {
    align-items: stretch;
  }

  .page--affiliate .aff-footer__license-wrap {
    justify-content: center;
    width: 100%;
  }

  .page--affiliate .aff-footer__col--qr {
    align-items: stretch;
  }

  .page--affiliate .aff-footer__qr-frame {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page--affiliate .aff-footer__qr-img {
    width: min(118px, 72vw);
  }

  .page--affiliate .aff-footer__bottom {
    margin-top: 28px;
    border-top-color: rgb(255 255 255 / 8%);
  }

  .page--affiliate .aff-footer__copy {
    font-size: 0.72rem;
    color: rgb(255 255 255 / 45%);
  }
}

@media (min-width: 1024px) {
  .page--affiliate .aff-header__inner {
    grid-template-columns: max-content 1fr max-content;
    column-gap: 24px;
  }

  .page--affiliate .aff-header__brand {
    grid-column: 1;
  }

  .page--affiliate .aff-header__nav {
    grid-column: 2;
  }

  .page--affiliate .aff-header__end {
    grid-column: 3;
  }

  .page--affiliate .aff-header__nav {
    display: flex;
  }

  .page--affiliate .aff-header__desktop-actions {
    display: flex;
  }

  .page--affiliate .aff-header__mobile-user {
    display: none;
  }

  .page--affiliate .aff-header__burger {
    display: none;
  }

  .page--affiliate .aff-header__drawer {
    display: none !important;
  }
}

/* Register agent page */
.page--register {
  background: #000;
}

.page--register .register-agent {
  padding: 26px 0 48px;
}

.page--register .register-agent__container {
  max-width: 860px;
}

.page--register .register-agent__title {
  margin: 0 0 22px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(0deg, #C68308  50%, #F9D94E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-bottom: 20px;
}

.page--register .register-agent__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30%;
  max-width: none;
  height: 12px;
  background: url("../images/affiliate/line.png") no-repeat center bottom / contain;
  pointer-events: none;
}

.page--register .register-agent__form {
  width: min(100%, 660px);
  margin: 0 auto;
}

.page--register .register-agent__card {
  padding: 16px 18px 18px;
  border: 1px solid #4b4117;
  border-radius: 12px;
  background: #000;
}

.page--register .register-agent__card + .register-agent__card {
  margin-top: 12px;
}

.page--register .register-agent__card-title {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #F9D94E;
}

.page--register .register-agent__label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: #fff;
}

.page--register .register-agent__label--inline {
  margin: 0;
  align-self: center;
}

.page--register .register-agent__row {
  display: grid;
  gap: 8px;
}

.page--register .register-agent__row--split {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.page--register .register-agent__field {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(90deg, #232426 0%, #2a2b2d 100%);
  box-sizing: border-box;
}

.page--register .register-agent__field::placeholder {
  color: rgb(255 255 255 / 48%);
}

.page--register .register-agent__field--select {
  appearance: none;
  padding-right: 44px;
  background-image: url("../images/icon/icon-arrow-down.svg"), linear-gradient(90deg, #1e1e1e 0%, #1e1e1e 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, left top;
  background-size: 14px 14px, 100% 100%;
}

.page--register .register-agent__radio-row {
  display: flex;
  gap: 56px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  flex-wrap: wrap;
}

.page--register .register-agent__radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.page--register .register-agent__radio-row input[type="radio"] {
  appearance: none;
  margin: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #abb5b9;
  background: #abb5b9;
  box-shadow: inset 0 0 0 4px #abb5b9;
}

.page--register .register-agent__radio-row input[type="radio"]:checked {
  border-color: #81aef6;
  background: #2e7fff;
  box-shadow: inset 0 0 0 4px #000;
}

.page--register .register-agent__info-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px 10px;
  align-items: center;
}

.page--register .register-agent__info-grid .register-agent__label--inline {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.page--register .register-agent__code-wrap {
  position: relative;
}

.page--register .register-agent__code-wrap .register-agent__field {
  padding-right: 112px;
}

.page--register .register-agent__code-value {
  position: absolute;
  inset: 0 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0 10px;
  border-radius: 0 10px 10px 0;
  font-size: 1rem;
  color: #abb5b9;
  background: #3a3a3a;
}

.page--register .register-agent__submit {
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 13px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111;
  background: linear-gradient(180deg, #f8d84d 0%, #c68308 100%);
  cursor: pointer;
}

.page--register .register-agent__providers {
  width: min(100%, 1200px);
  margin: 28px auto 0;
}

.page--register .register-agent__provider-group + .register-agent__provider-group {
  margin-top: 10px;
}

.page--register .register-agent__provider-group h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #d3a640;
  font-weight: 600;
}

.page--register .register-agent__provider-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
}

.page--register .register-agent__provider-logos img {
  height: 20px;
  width: auto;
  object-fit: contain;
  display: block;
}

.page--register .register-agent__provider-logos--banking img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #1f2327;
  padding: 3px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .page--register .register-agent {
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .page--register .register-agent__container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .page--register .register-agent__title {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .page--register .register-agent__title::after {
    width: 44%;
    height: 8px;
  }

  .page--register .register-agent__form,
  .page--register .register-agent__providers {
    width: 100%;
  }

  .page--register .register-agent__card {
    padding: 20px;
    border: 1px solid #4b4117;
    border-radius: 12px;
    background: #000;
  }

  .page--register .register-agent__card + .register-agent__card {
    margin-top: 12px;
  }

  .page--register .register-agent__card-title {
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f9d94e;
  }

  .page--register .register-agent__label {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
  }

  .page--register .register-agent__row--split {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .page--register .register-agent__field {
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1rem;
    color: #fff;
    background: #1c1c1c;
  }

  .page--register .register-agent__field::placeholder {
    color: rgb(255 255 255 / 48%);
  }

  .page--register .register-agent__field--select {
    padding-right: 44px;
    background-image: url("../images/icon/icon-arrow-down.svg");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    background-color: #1c1c1c;
  }

  .page--register .register-agent__info-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page--register .register-agent__info-grid .register-agent__label--inline {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    align-self: start;
  }

  .page--register .register-agent__info-grid .register-agent__field {
    margin-bottom: 14px;
  }

  .page--register .register-agent__radio-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .page--register .register-agent__radio-row label {
    gap: 10px;
  }

  .page--register .register-agent__radio-row input[type="radio"] {
    width: 20px;
    height: 20px;
    border-width: 2px;
    border-color: #abb5b9;
    background: #abb5b9;
    box-shadow: inset 0 0 0 4px #abb5b9;
  }

  .page--register .register-agent__radio-row input[type="radio"]:checked {
    border-color: #81aef6;
    background: #2e7fff;
    box-shadow: inset 0 0 0 4px #000;
  }

  .page--register .register-agent__code-wrap .register-agent__field {
    padding-right: 58px;
  }

  .page--register .register-agent__code-value {
    min-width: 48px;
    font-size: 0.9rem;
    border-radius: 0 10px 10px 0;
    height: 50px;
  }

  .page--register .register-agent__submit {
    margin-top: 8px;
    border-radius: 7px;
    padding: 15px 0;
    font-size: 0.9rem;
  }

  .page--register .register-agent__providers {
    margin-top: 12px;
  }

  .page--register .register-agent__provider-group + .register-agent__provider-group {
    margin-top: 7px;
  }

  .page--register .register-agent__provider-group h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .page--register .register-agent__provider-logos {
    gap: 4px 8px;
  }

  .page--register .register-agent__provider-logos img {
    height: 43px;
    padding: 5px 10px;
  }

  .page--register .register-agent__provider-logos--banking img {
    width: 50px;
    height: 50px;
    padding: 2px;
  }
}

/* App download page */
body.page--app-download {
  margin: 0;
  padding: 0;
  background: #000;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body.page--app-download {
    padding-top: var(--header-height);
  }
}

@media (max-width: 767px) {
  body.page--app-download .header {
    display: none !important;
  }
}

.app-download {
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
}

.app-download__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 18px;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.app-download__back {
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
}

.app-download__header h1 {
  margin: 0;
  font-size: 2.15rem;
  font-weight: 500;
}

.app-download__layout {
  padding: 0 16px 32px;
  box-sizing: border-box;
}

.app-download__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 8px;
  min-height: 280px;
  overflow: visible;
}

.app-download__glow {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 300px);
  height: min(92vw, 300px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.app-download__phone-picture {
  position: relative;
  z-index: 1;
  display: block;
  width: min(78vw, 260px);
  max-width: 100%;
  line-height: 0;
}

.app-download__phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.app-download__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-download__copy {
  width: 100%;
  padding: 0 8px;
  margin-bottom: 20px;
}

.app-download__headline {
  margin: 0;
  color: #f9d94e;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.app-download__headline-line {
  display: block;
}

.app-download__subtext {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
}

.app-download__stores {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.app-download__store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.app-download__store-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

.app-download__store-label img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.app-download__qr {
  width: min(100%, 130px);
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-sizing: border-box;
}

.app-download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 160px);
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  box-sizing: border-box;
}

.app-download__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #007bff;
  flex-shrink: 0;
}

.app-download__btn-icon img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.app-download__instructions {
  color: #f9d94e;
  font-size: 0.9rem;
  text-decoration: none;
}

/* App download — desktop */
@media (min-width: 768px) {
  .app-download {
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 15px 40px;
    box-sizing: border-box;
  }

  .app-download__header--mobile {
    display: none;
  }

  .app-download__layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 56px);
    width: 100%;
    max-width: 1370px;
    margin: 0 auto;
    padding: 50px 15px;
    box-sizing: border-box;
    background: #121212;
    border-radius: 15px;
  }

  .app-download__visual {
    flex: 0 0 50%;
    max-width: 650px;
    min-height: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
  }

  .app-download__glow {
    display: none;
  }

  .app-download__phone-picture {
    width: 100%;
    max-width: 580px;
  }

  .app-download__phone {
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
    transform: none;
    filter: none;
    object-fit: contain;
    object-position: center center;
  }

  .app-download__content {
    flex: 0 1 50%;
    max-width: 640px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .app-download__copy {
    padding: 0;
    margin-bottom: 32px;
  }

  .app-download__headline {
    font-size: clamp(1.28rem, 1.85vw, 1.5rem);
    line-height: 1.45;
    font-weight: 700;
    color: #f9d94e;
    letter-spacing: 0;
  }

  .app-download__headline-line + .app-download__headline-line {
    margin-top: 0.12em;
  }

  .app-download__subtext {
    margin-top: 14px;
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    max-width: 100%;
    font-weight: 400;
  }

  .app-download__stores {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: clamp(40px, 6vw, 72px);
    width: 100%;
    max-width: 520px;
  }

  .app-download__store {
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
  }

  .app-download__store-label {
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
  }

  .app-download__store-label img {
    width: 24px;
    height: 24px;
  }

  .app-download__qr {
    width: 148px;
    height: 148px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #fff;
  }

  .app-download__btn {
    width: 168px;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #2a2a2d;
    border-radius: 999px;
    transition: background 0.15s;
  }

  .app-download__btn:hover {
    background: #2a2a2a;
    text-decoration: none;
  }

  .app-download__instructions {
    font-size: 0.95rem;
    color: #f9d94e;
    font-weight: 500;
  }

  .app-download__instructions:hover {
    color: #ffe566;
    text-decoration: underline;
  }
}

@media (max-width: 767px) {
  .app-download__header {
    padding: 12px 12px 10px;
  }

  .app-download__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    color: #d1d5db;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    flex-shrink: 0;
  }

  .app-download__header h1 {
    flex: 1;
    font-size: 0.9rem;
  }

  .app-download__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .app-download__menu-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    pointer-events: none;
  }

  .app-download__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 14px 28px;
  }

  .app-download__visual {
    width: 100%;
    min-height: 240px;
    padding: 8px 0 0;
  }

  .app-download__phone-picture {
    width: min(88vw, 280px);
  }

  .app-download__phone {
    width: 100%;
  }

  .app-download__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 6px;
    box-sizing: border-box;
  }

  .app-download__copy {
    width: 100%;
    max-width: 100%;
    margin: -64px auto 22px;
    padding: 48px 12px 20px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, transparent 0%, #000 100%);
    box-sizing: border-box;
  }

  .app-download__headline {
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 700;
    color: #f9d94e;
  }

  .app-download__subtext {
    margin-top: 20px;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    color: #ffffff;
  }

  .app-download__stores {
    width: 100%;
    margin-top: 0;
    padding: 0 4px;
    gap: 10px;
  }
}

.page--leave-feedback .profile-drawer__feedback-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 20px 22px;
  border-radius: 16px;
  background: #1e1e1e;
}

.page--leave-feedback .profile-drawer__feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.page--leave-feedback .profile-drawer__feedback-head-main {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.page--leave-feedback .profile-drawer__feedback-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #f9d94e;
  flex-shrink: 0;
}

.page--leave-feedback .profile-drawer__feedback-head-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.page--leave-feedback .profile-drawer__feedback-head-title {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.page--leave-feedback .profile-drawer__feedback-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 10px;
  padding-top: 25px;
  border-radius: 10px;
  background: #121212;
}

.page--leave-feedback .profile-drawer__feedback-tabs {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 24px;
}

.page--leave-feedback .profile-drawer__feedback-tab {
  position: relative;
  padding: 0 0 14px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.page--leave-feedback .profile-drawer__feedback-tab--active {
  color: #f9d94e;
}

.page--leave-feedback .profile-drawer__feedback-tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: #f9d94e;
}

.page--leave-feedback .profile-drawer__feedback-panels {
  flex: 1;
  min-height: 0;
}

.page--leave-feedback .profile-drawer__feedback-view {
  min-height: 100%;
}

.page--leave-feedback .profile-drawer__feedback-form {
  width: min(100%, 520px);
}

.page--leave-feedback .profile-drawer__feedback-field + .profile-drawer__feedback-field {
  margin-top: 18px;
}

.page--leave-feedback .profile-drawer__feedback-label {
  display: block;
  margin-bottom: 10px;
  color: #f3f4f6;
  font-size: 14px;
  line-height: 1.45;
}

.page--leave-feedback .profile-drawer__feedback-label--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page--leave-feedback .profile-drawer__feedback-required {
  color: #ef4444;
}

.page--leave-feedback .profile-drawer__feedback-select-wrap {
  position: relative;
}

.page--leave-feedback .profile-drawer__feedback-select,
.page--leave-feedback .profile-drawer__feedback-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #121212;
  color: #fff;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.page--leave-feedback .profile-drawer__feedback-select {
  min-height: 48px;
  padding: 0 42px 0 14px;
  font-size: 0.9rem;
  appearance: none;
}

.page--leave-feedback #profile-drawer-feedback-type option {
  background: #000000;
  border-radius: 10px;
  border: none;
}

.page--leave-feedback .profile-drawer__feedback-select:focus,
.page--leave-feedback .profile-drawer__feedback-textarea:focus {
  outline: none;
  border-color: rgba(249, 217, 78, 0.7);
  box-shadow: 0 0 0 3px rgba(249, 217, 78, 0.12);
}

.page--leave-feedback .profile-drawer__feedback-select-chev {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid rgba(255, 255, 255, 0.78);
  border-bottom: 2px solid rgba(255, 255, 255, 0.78);
  transform: rotate(45deg);
  pointer-events: none;
}

.page--leave-feedback .profile-drawer__feedback-textarea {
  min-height: 118px;
  padding: 14px;
  font-size: 0.8rem;
  resize: vertical;
}

.page--leave-feedback .profile-drawer__feedback-textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.page--leave-feedback .profile-drawer__feedback-count {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  text-align: right;
}

.page--leave-feedback .profile-drawer__feedback-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.98) 0%, rgba(24, 24, 24, 0.98) 100%);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.page--leave-feedback .profile-drawer__feedback-upload-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.page--leave-feedback .profile-drawer__feedback-upload-text {
  font-size: 14px;
  font-weight: 500;
}

.page--leave-feedback .profile-drawer__feedback-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page--leave-feedback .profile-drawer__feedback-file-name {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.4;
}

.page--leave-feedback .profile-drawer__feedback-note {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.55;
}

.page--leave-feedback .profile-drawer__feedback-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 22px;
  border: 1px solid #f9d94e;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9d94e 0%, #c78509 100%);
  color: #171717;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.page--leave-feedback .profile-drawer__feedback-submit:hover {
  filter: brightness(1.03);
}

.page--leave-feedback .profile-drawer__feedback-view--history {
  min-height: 0;
}

.page--leave-feedback .profile-drawer__feedback-history {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
}

.page--leave-feedback .profile-drawer__feedback-history-controls {
  width: min(100%, 450px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page--leave-feedback .profile-drawer__feedback-history-date-wrap {
  border-radius: 10px;
  background: #1b1b1b;
}

.page--leave-feedback .profile-drawer__feedback-history-date-wrap .profile-drawer__history-date-input {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.page--leave-feedback .profile-drawer__feedback-history-actions {
  margin-top: 0;
}

.page--leave-feedback .profile-drawer__feedback-history-table-wrap {
  width: 100%;
  min-height: 190px;
  border-radius: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1d1d1d;
}

.page--leave-feedback .profile-drawer__feedback-history-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.page--leave-feedback .profile-drawer__feedback-history-table thead th {
  padding: 16px 14px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.page--leave-feedback .profile-drawer__feedback-history-table tbody:empty {
  display: none;
}

.page--leave-feedback .profile-drawer__feedback-history-empty {
  margin: 0;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 767px) {
  .page--leave-feedback .profile-drawer__feedback-panel {
    padding: 16px 14px 22px;
    border-radius: 14px;
    box-shadow: none;
  }

  .page--leave-feedback .profile-drawer__feedback-head-title {
    font-size: 1rem;
  }

  .page--leave-feedback .profile-drawer__feedback-tabs {
    gap: 22px;
    margin-bottom: 20px;
  }

  .page--leave-feedback .profile-drawer__feedback-tab {
    font-size: 0.9rem;
    padding-bottom: 12px;
  }

  .page--leave-feedback .profile-drawer__feedback-form,
  .page--leave-feedback .profile-drawer__feedback-history-controls {
    width: 100%;
  }

  .page--leave-feedback .profile-drawer__feedback-upload,
  .page--leave-feedback .profile-drawer__feedback-submit {
    width: 100%;
    min-width: 0;
  }

  .page--leave-feedback .profile-drawer__feedback-history {
    gap: 16px;
  }

  .page--leave-feedback .profile-drawer__feedback-history-table {
    min-width: 640px;
  }

  .page--leave-feedback .profile-drawer__feedback-history-table thead th {
    padding: 14px 12px;
    font-size: 0.8rem;
  }
}
:where(.ui-wheel-of-fortune) {
  --_items: 10;
  all: unset;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  direction: ltr;
  display: grid;
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));

  &::after {
    aspect-ratio: 1 / cos(30deg);
    background: linear-gradient(180deg, #fff2a8 0%, #ffd84a 45%, #d4a017 100%);
    clip-path: polygon(50% 100%, 100% 0, 0 0);
    content: "";
    height: 5.5cqi;
    position: absolute;
    place-self: start center;
    scale: 1.35;
    z-index: 6;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  }

  & > * {
    position: absolute;
  }

  .ui-wheel-hub {
    aspect-ratio: 1 / 1;
    background: url("../images/lucky/object_center.png") no-repeat center center;
    border: 0;
    border-radius: 50%;
    /*box-shadow:
      inset 0 -2px 5px rgba(0, 0, 0, 0.18),
      0 0 0 2px rgba(255, 237, 169, 0.55),
      0 2px 6px rgba(0, 0, 0, 0.28);*/
    cursor: pointer;
    font-size: 0;
    place-self: center;
    width: 5cqi;
    z-index: 5;
  }

  ul {
    all: unset;
    clip-path: inset(0 0 0 0 round 50%);
    display: grid;
    inset: 0;
    place-content: center start;
    transform: rotate(calc(-90deg + var(--wheel-spin, 0deg)));
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 50%;
    box-shadow:
      0 0 0 3px #ffbf22,
      0 0 0 5px #8b6914,
      inset 0 0 0 2px rgba(255, 244, 176, 0.78);

    &.is-spinning {
      will-change: transform;
      transition: transform 5.5s cubic-bezier(0.12, 0.75, 0.15, 1);
    }

    /*&::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg 35.4deg,
        rgba(255, 220, 120, 0.9) 35.4deg 36deg
      );
      z-index: 3;
      pointer-events: none;
    }*/

    li {
      aspect-ratio: 1 / calc(2 * tan(180deg / var(--_items)));
      clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
      display: grid;
      grid-area: 1 / -1;
      padding-left: 0;
      rotate: calc(360deg / var(--_items) * calc(var(--_idx) - 1));
      transform-origin: center right;
      user-select: none;
      width: 50cqi;
      z-index: 1;

      &:nth-of-type(odd) {
        background: linear-gradient(to right, #930000, #fe0a0a);
      }
      &:nth-of-type(even) {
        background: linear-gradient(to right, #fba400, #ffd155);
      }

      .ui-wheel-prize {
        position: relative;
        z-index: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0.25em;
        width: 100%;
        padding-top: 7px;
        padding-right: 7%;
        box-sizing: border-box;
        rotate: 275deg;
      }

      .ui-wheel-prize__txt {
        display: block;
        max-width: 88%;
        font-size: 2.35cqi;
        font-weight: 900;
        line-height: 1.3;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 0;
        word-break: break-word;
      }

      &:nth-of-type(odd) .ui-wheel-prize__txt {
        color: #fff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
      }

      &:nth-of-type(even) .ui-wheel-prize__txt {
        color: #000;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
      }

      .ui-wheel-prize__ico {
        display: block;
        width: 9.5cqi;
        height: 9.5cqi;
        object-fit: contain;
        filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
        flex-shrink: 0;
      }

      &:nth-of-type(1) {
        --_idx: 1;
      }
      &:nth-of-type(2) {
        --_idx: 2;
      }
      &:nth-of-type(3) {
        --_idx: 3;
      }
      &:nth-of-type(4) {
        --_idx: 4;
      }
      &:nth-of-type(5) {
        --_idx: 5;
      }
      &:nth-of-type(6) {
        --_idx: 6;
      }
      &:nth-of-type(7) {
        --_idx: 7;
      }
      &:nth-of-type(8) {
        --_idx: 8;
      }
      &:nth-of-type(9) {
        --_idx: 9;
      }
      &:nth-of-type(10) {
        --_idx: 10;
      }
      &:nth-of-type(11) {
        --_idx: 11;
      }
      &:nth-of-type(12) {
        --_idx: 12;
      }
    }
  }
}
.desktop-only,
.mobile-only {
  display: none !important;
}
@media (min-width: 768px) {
  .desktop-only {
    display: inline-flex !important;
  }
}
@media (max-width: 768px) {
  .mobile-only {
    display: inline-flex !important;
  }
}

/* Game launcher iframe: show deposit/withdraw form only (?launcher=1) */
body:has(.page--launcher-cashier) .header,
body:has(.page--launcher-cashier) .footer-mobile-nav,
body:has(.page--launcher-cashier) .footer-main,
body:has(.page--launcher-cashier) .scroll-to-top,
body:has(.page--launcher-cashier) .mobile-menu-overlay,
body:has(.page--launcher-cashier) .lang-currency-overlay,
body:has(.page--launcher-cashier) .contact-overlay {
  display: none !important;
}
/* Keep #app-loading-overlay visible in launcher cashier so deposit/withdraw submit can show loading */
body:has(.page--launcher-cashier) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: auto;
  background: #000;
}
.page--launcher-cashier .main,
.page--launcher-cashier .container {
  padding: 0;
  margin: 0;
  max-width: none;
}
.page--launcher-cashier .deposit-main-profile-drawer-mount .profile-drawer__panel {
  padding-bottom: 0;
}
.page--launcher-cashier .profile-drawer__side,
.page--launcher-cashier .profile-drawer__head,
.page--launcher-cashier .profile-drawer__wallet-top,
.page--launcher-cashier .profile-drawer__wallet-tabs {
  display: none !important;
}
.page--launcher-cashier .profile-drawer__body {
  gap: 0;
  grid-template-columns: 1fr !important;
  padding: 0;
}
.page--launcher-cashier .profile-drawer__empty,
.page--launcher-cashier .profile-drawer__empty.profile-drawer__empty--active {
  display: block !important;
  width: 100%;
  max-width: none;
  grid-column: 1 / -1;
}
.page--launcher-cashier .profile-drawer__wallet-panel,
.page--launcher-cashier.page--deposit-page .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel,
.page--launcher-cashier.page--withdrawal .deposit-main-profile-drawer-mount .profile-drawer__wallet-panel {
  zoom: 1;
  background: transparent;
  border: 0;
  padding: 16px 20px 24px;
  width: 100%;
  box-sizing: border-box;
}
.page--launcher-cashier .profile-drawer__wallet-control {
  padding-top: 0;
}
.page--launcher-cashier .profile-drawer__wallet-body,
.page--launcher-cashier .profile-drawer__wallet-body-col--main {
  width: 100%;
  max-width: none;
}
.page--launcher-cashier .profile-drawer__wallet-body:not(.profile-drawer__wallet-body--withdraw) {
  grid-template-columns: 1fr !important;
  column-gap: 0;
  padding: 0;
}
.page--launcher-cashier .profile-drawer__wallet-body-col--aside {
  display: none !important;
}
body:has(.page--launcher-cashier) .bigwin {
  display: none !important;
}
.page--launcher-cashier--deposit .profile-drawer__wallet-body[data-wallet-view="withdraw"] {
  display: none !important;
}
.page--launcher-cashier--withdraw .profile-drawer__wallet-body[data-wallet-view="deposit"] {
  display: none !important;
}

/* Deposit promo popup: keep option text left-aligned (all breakpoints) */
.profile-drawer__promo-sheet-option,
.profile-drawer__promo-sheet-option:not(.profile-drawer__promo-sheet-option--none) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  column-gap: 12px;
  text-align: left !important;
  -webkit-appearance: none;
  appearance: none;
}
.profile-drawer__promo-sheet-option > span,
.profile-drawer__promo-sheet-label,
.profile-drawer__promo-sheet-copy,
.profile-drawer__promo-sheet-copy strong {
  grid-column: 1;
  justify-self: start;
  align-self: center;
  width: 100%;
  min-width: 0;
  text-align: left !important;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 400;
}
.profile-drawer__promo-sheet-thumb {
  display: none !important;
}
.profile-drawer__promo-sheet-option:not(.profile-drawer__promo-sheet-option--none)::after,
.profile-drawer__promo-sheet-option.is-selected::after {
  grid-column: 2;
  grid-row: 1;
  margin-left: 0 !important;
  justify-self: end;
}

/* Recent / Favourites saved-games lobby */
.page--saved-games .saved-games-section {
  display: block !important;
  width: 100%;
  margin-top: var(--lobby-offset-top);
  margin-bottom: 0;
  padding-bottom: var(--lobby-offset-bottom);
}
.page--saved-games .saved-games-body,
.page--saved-games .saved-games-grid-wrap {
  display: block;
  width: 100%;
  min-width: 0;
}
.page--saved-games .saved-games-section .section-head {
  margin-bottom: 14px;
}
.page--saved-games .saved-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
  /* Same top padding as Popular / hot_lobby cards */
  padding: var(--sport-space-sm, 8px) 0;
}
.page--saved-games .saved-games-grid > .lobby-game-card,
.page--saved-games .saved-games-grid > .lobby-game-card-wrap {
  max-width: none;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 125 / 156;
}
.page--saved-games .saved-games-grid > .lobby-game-card-wrap > .lobby-game-card {
  width: 100%;
  height: 100%;
}
.page--saved-games .saved-games-grid .lobby-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .page--saved-games .saved-games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
  }
}
@media (min-width: 992px) {
  .page--saved-games .saved-games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .page--saved-games .saved-games-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}
.page--saved-games .saved-games-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 28px 16px;
  min-height: 140px;
  border-radius: 12px;
  border: 1px dashed rgba(249, 217, 78, 0.35);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  box-sizing: border-box;
}
.page--saved-games-favourites .saved-games-empty {
  min-height: 120px;
  padding: 0;
}
.page--saved-games .saved-games-empty[hidden] {
  display: none !important;
}
.page--saved-games .saved-games-card-wrap {
  position: relative;
  overflow: visible;
}
.page--saved-games .saved-games-card-wrap > .lobby-game-card {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #faf58f;
  display: block;
  width: 100%;
  height: 100%;
}
.page--saved-games .saved-games-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 6;
  width: 26px;
  height: 26px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(249, 217, 78, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.page--saved-games .saved-games-remove svg {
  width: 12px;
  height: 12px;
  display: block;
  pointer-events: none;
}
.page--saved-games .saved-games-remove:hover {
  background: #b42318;
  border-color: #f9d94e;
  transform: scale(1.06);
}
.page--saved-games .saved-games-remove:focus-visible {
  outline: 2px solid #f9d94e;
  outline-offset: 2px;
}
/* Slots / fishing lobby: never shrink to 122px card min-content (sport.css flex override) */
@media (min-width: 993px) {
  .slots-page .casino-lobby.casino-lobby--slot,
  .slots-page .casino-lobby.casino-lobby--fishing,
  .slots-page .casino-lobby.casino-lobby--crash {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .slots-page .casino-lobby--slot .lobby-layout,
  .slots-page .casino-lobby--fishing .lobby-layout,
  .slots-page .casino-lobby--crash .lobby-layout {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid-wrap,
  .slots-page .casino-lobby--fishing .lobby-game-grid-wrap,
  .slots-page .casino-lobby--crash .lobby-game-grid-wrap,
  .slots-page .casino-lobby--slot .lobby-panel-games,
  .slots-page .casino-lobby--fishing .lobby-panel-games,
  .slots-page .casino-lobby--crash .lobby-panel-games,
  .slots-page .casino-lobby--slot .lobby-game-grid,
  .slots-page .casino-lobby--fishing .lobby-game-grid,
  .slots-page .casino-lobby--crash .lobby-game-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid,
  .slots-page .casino-lobby--fishing .lobby-game-grid,
  .slots-page .casino-lobby--crash .lobby-game-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid > .lobby-game-card,
  .slots-page .casino-lobby--fishing .lobby-game-grid > .lobby-game-card,
  .slots-page .casino-lobby--crash .lobby-game-grid > .lobby-game-card,
  .slots-page .casino-lobby--arcade .lobby-game-grid > .lobby-game-card,
  .slots-page .casino-lobby--slot .lobby-game-grid > .lobby-game-card-wrap,
  .slots-page .casino-lobby--fishing .lobby-game-grid > .lobby-game-card-wrap,
  .slots-page .casino-lobby--crash .lobby-game-grid > .lobby-game-card-wrap,
  .slots-page .casino-lobby--arcade .lobby-game-grid > .lobby-game-card-wrap,
  .slots-page .casino-lobby--slot .lobby-game-grid > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--fishing .lobby-game-grid > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--crash .lobby-game-grid > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--arcade .lobby-game-grid > .lobby-game-card--shimmer {
    max-width: none !important;
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5;
    height: auto;
    justify-self: stretch;
  }
}

@media (max-width: 768px) {
  .slots-page .casino-lobby--slot .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card,
  .slots-page .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card,
  .slots-page .casino-lobby--crash .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card,
  .slots-page .casino-lobby--arcade .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card,
  .slots-page .casino-lobby--slot .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card-wrap,
  .slots-page .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card-wrap,
  .slots-page .casino-lobby--crash .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card-wrap,
  .slots-page .casino-lobby--arcade .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card-wrap,
  .slots-page .casino-lobby--slot .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--fishing .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--crash .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--arcade .lobby-game-grid:not(.lobby-game-grid--list) > .lobby-game-card--shimmer {
    max-width: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5;
  }
}

.lazy-img-wrap.is-lazy-loading {
  position: relative;
  overflow: hidden;
}
.lazy-img-wrap.is-lazy-loading img {
  opacity: 0;
}
.lazy-img-wrap.is-lazy-loading .lobby-shimmer--thumb {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.lazy-img-wrap:not(.is-lazy-loading) img {
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* Slots / fishing lobby shimmer skeleton */
@keyframes lobby-shimmer-sweep {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (min-width: 769px) {
  .casino-lobby--slot .lobby-game-grid .lobby-game-card,
  .casino-lobby--fishing .lobby-game-grid .lobby-game-card {
    max-width: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .casino-lobby--slot .lobby-game-grid .lobby-game-card img,
  .casino-lobby--fishing .lobby-game-grid .lobby-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.lobby-game-grid-wrap.is-shimmer-loading {
  min-height: calc(100dvh - var(--header-height) - var(--main-nav-height) - 240px);
}

.lobby-game-grid-wrap.is-shimmer-loading .lobby-game-grid {
  opacity: 1;
  width: 100%;
}

.lobby-game-grid-wrap.is-append-loading .lobby-game-grid {
  opacity: 1;
  width: 100%;
}

.lobby-game-grid-wrap.is-shimmer-loading .lobby-loading-overlay {
  display: none !important;
}

.lobby-game-card--shimmer {
  pointer-events: none;
  border-color: rgba(250, 245, 143, 0.18);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  max-width: none !important;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5;
  height: auto;
  text-decoration: none;
  cursor: default;
  position: relative;
}

.lobby-shimmer {
  display: block;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.03) 35%,
    rgba(249, 217, 78, 0.16) 48%,
    rgba(255, 255, 255, 0.10) 52%,
    rgba(255, 255, 255, 0.03) 65%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 220% 100%;
  animation: lobby-shimmer-sweep 1.35s ease-in-out infinite;
}

/* Progressive slot thumbs: shimmer until each image loads */
.lobby-game-card.is-img-loading {
  position: relative;
  background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
}
.lobby-game-card.is-img-loading > img:not(.lobby-game-card-maint-badge-img) {
  opacity: 0;
}
.lobby-game-card.is-img-ready > img:not(.lobby-game-card-maint-badge-img) {
  opacity: 1;
  transition: opacity 0.18s ease;
}
.lobby-game-card--maintenance.is-img-ready > img:not(.lobby-game-card-maint-badge-img) {
  opacity: 0.45;
}
.lobby-game-card.is-img-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.03) 35%,
    rgba(249, 217, 78, 0.16) 48%,
    rgba(255, 255, 255, 0.1) 52%,
    rgba(255, 255, 255, 0.03) 65%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 220% 100%;
  animation: lobby-shimmer-sweep 1.35s ease-in-out infinite;
}
.lobby-game-card.is-img-loading > * {
  position: relative;
  z-index: 1;
}

.lobby-game-card--shimmer:nth-child(4n+1) .lobby-shimmer {
  animation-delay: 0s;
}

.lobby-game-card--shimmer:nth-child(4n+2) .lobby-shimmer {
  animation-delay: 0.12s;
}

.lobby-game-card--shimmer:nth-child(4n+3) .lobby-shimmer {
  animation-delay: 0.24s;
}

.lobby-game-card--shimmer:nth-child(4n+4) .lobby-shimmer {
  animation-delay: 0.36s;
}

.lobby-shimmer--thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 10px;
}

.lobby-shimmer--title {
  display: none;
}

@media (max-width: 768px) {
  .lobby-game-grid--list .lobby-game-card--shimmer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    aspect-ratio: auto;
    min-height: 56px;
    height: auto;
    padding: 6px 8px;
  }

  .lobby-game-grid--list .lobby-shimmer--thumb {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    aspect-ratio: auto;
    border-radius: 8px;
    position: static;
    inset: auto;
  }

  .lobby-game-grid--list .lobby-shimmer--title {
    display: block;
    flex: 1;
    min-width: 0;
    height: 14px;
    border-radius: 7px;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid--list > .lobby-game-card,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list > .lobby-game-card,
  .slots-page .casino-lobby--crash .lobby-game-grid--list > .lobby-game-card,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list > .lobby-game-card,
  .slots-page .casino-lobby--slot .lobby-game-grid--list > .lobby-game-card-wrap,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list > .lobby-game-card-wrap,
  .slots-page .casino-lobby--crash .lobby-game-grid--list > .lobby-game-card-wrap,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list > .lobby-game-card-wrap,
  .slots-page .casino-lobby--slot .lobby-game-grid--list > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--crash .lobby-game-grid--list > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list > .lobby-game-card--shimmer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    aspect-ratio: auto !important;
    min-height: 56px !important;
    height: auto !important;
    padding: 6px 8px !important;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid--list .lobby-game-card-wrap > .lobby-game-card,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list .lobby-game-card-wrap > .lobby-game-card,
  .slots-page .casino-lobby--crash .lobby-game-grid--list .lobby-game-card-wrap > .lobby-game-card,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list .lobby-game-card-wrap > .lobby-game-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    aspect-ratio: auto !important;
    min-height: 56px !important;
    height: auto !important;
    width: 100% !important;
    padding: 6px 8px !important;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid--list > .lobby-game-card-wrap,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list > .lobby-game-card-wrap,
  .slots-page .casino-lobby--crash .lobby-game-grid--list > .lobby-game-card-wrap,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list > .lobby-game-card-wrap {
    display: block !important;
    padding: 0 !important;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid--list > .lobby-game-card img,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list > .lobby-game-card img,
  .slots-page .casino-lobby--crash .lobby-game-grid--list > .lobby-game-card img,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list > .lobby-game-card img,
  .slots-page .casino-lobby--slot .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card img,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card img,
  .slots-page .casino-lobby--crash .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card img,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card img {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 8px;
    object-fit: cover;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid--list .lobby-game-card-name,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list .lobby-game-card-name,
  .slots-page .casino-lobby--crash .lobby-game-grid--list .lobby-game-card-name,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list .lobby-game-card-name,
  .slots-page .casino-lobby--slot .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card-name,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card-name,
  .slots-page .casino-lobby--crash .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card-name,
  .slots-page .casino-lobby--arcade .lobby-game-grid--list .lobby-game-card-wrap .lobby-game-card-name {
    display: block !important;
  }
}

@media (min-width: 769px) {
  .slots-page .casino-lobby--slot .lobby-game-grid--list,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 14px;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid--list > .lobby-game-card,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list > .lobby-game-card,
  .slots-page .casino-lobby--slot .lobby-game-grid--list > .lobby-game-card--shimmer,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list > .lobby-game-card--shimmer {
    display: block !important;
    flex-direction: unset !important;
    align-items: unset !important;
    aspect-ratio: 4 / 5 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid--list > .lobby-game-card img,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list > .lobby-game-card img {
    width: 100% !important;
    height: 100% !important;
    flex: unset !important;
    border-radius: 0;
    object-fit: cover;
  }

  .slots-page .casino-lobby--slot .lobby-game-grid--list .lobby-game-card-name,
  .slots-page .casino-lobby--fishing .lobby-game-grid--list .lobby-game-card-name,
  .slots-page .lobby-game-grid--list .lobby-shimmer--title {
    display: none !important;
  }

  .slots-page .lobby-game-grid--list .lobby-shimmer--thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    flex: unset;
    border-radius: 10px;
  }
}

.casino-lobby--slot .lobby-game-grid .lobby-game-card--shimmer,
.casino-lobby--fishing .lobby-game-grid .lobby-game-card--shimmer {
  max-width: none;
  width: 100%;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .lobby-shimmer {
    animation: none;
    background: rgba(255, 255, 255, 0.06);
  }
}

/* Soft-nav lobbies: hide site footer on mobile (fixed .footer-mobile-nav stays) */
@media (max-width: 768px) {
  body.page--lobby .footer {
    display: none !important;
  }
}

/* Soft-nav lobby skeleton — uses real lobby classes; only bars/providers need helpers */
.lobby-json-shimmer-bar {
  display: block;
  border-radius: 999px;
}

.lobby-json-shimmer-bar--title {
  height: 18px;
  width: 140px;
  max-width: 70%;
}

.lobby-json-shimmer-bar--search {
  height: 46px;
  width: 100%;
  border-radius: 12px;
}

.lobby-provider--shimmer {
  pointer-events: none;
  cursor: default;
  overflow: hidden;
}

.lobby-provider--shimmer .lobby-shimmer--thumb {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  min-height: 0;
}

/* Provider-card lobbies (sports/casino/table) — same shell as real cards */
.sport-lobby-card--shimmer,
.casino-lobby-card--shimmer,
.table-games-card--shimmer,
.game-card--shimmer {
  pointer-events: none;
  cursor: default;
  border-color: transparent !important;
  background: transparent;
  transform: none !important;
}

.sport-lobby-card--shimmer:hover,
.casino-lobby-card--shimmer:hover,
.table-games-card--shimmer:hover,
.game-card--shimmer:hover {
  border-color: transparent !important;
  transform: none !important;
}

.sport-lobby-card--shimmer .sport-lobby-card-bg,
.casino-lobby-card--shimmer .casino-lobby-card-bg,
.table-games-card--shimmer .table-games-card-bg {
  display: block;
  position: relative;
  width: 100%;
  /* Match real provider card art (~122x152) */
  aspect-ratio: 4 / 5;
  height: auto;
  border: 1px solid #faf58f;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.sport-lobby-card--shimmer .lobby-shimmer--thumb,
.casino-lobby-card--shimmer .lobby-shimmer--thumb,
.table-games-card--shimmer .lobby-shimmer--thumb,
.game-card--shimmer .lobby-shimmer--thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
}

.sport-lobby-card--shimmer:nth-child(4n + 1) .lobby-shimmer,
.casino-lobby-card--shimmer:nth-child(4n + 1) .lobby-shimmer,
.table-games-card--shimmer:nth-child(4n + 1) .lobby-shimmer {
  animation-delay: 0s;
}

.sport-lobby-card--shimmer:nth-child(4n + 2) .lobby-shimmer,
.casino-lobby-card--shimmer:nth-child(4n + 2) .lobby-shimmer,
.table-games-card--shimmer:nth-child(4n + 2) .lobby-shimmer {
  animation-delay: 0.12s;
}

.sport-lobby-card--shimmer:nth-child(4n + 3) .lobby-shimmer,
.casino-lobby-card--shimmer:nth-child(4n + 3) .lobby-shimmer,
.table-games-card--shimmer:nth-child(4n + 3) .lobby-shimmer {
  animation-delay: 0.24s;
}

.sport-lobby-card--shimmer:nth-child(4n + 4) .lobby-shimmer,
.casino-lobby-card--shimmer:nth-child(4n + 4) .lobby-shimmer,
.table-games-card--shimmer:nth-child(4n + 4) .lobby-shimmer {
  animation-delay: 0.36s;
}

/* Cockfight shimmer — must match real .cocks-lobby-card (140/180 portrait, gold border) */
.cocks-lobby-card.cocks-lobby-card--shimmer {
  pointer-events: none;
  cursor: default;
  width: 100%;
  height: auto;
  aspect-ratio: 140 / 180;
  min-height: 0;
  border-radius: 12px;
  border: 1px solid #f9d94e;
  overflow: hidden;
  position: relative;
  display: block;
  padding: 0;
  background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
  box-sizing: border-box;
}

.cocks-lobby-card.cocks-lobby-card--shimmer:hover {
  transform: none;
}

.cocks-lobby-card.cocks-lobby-card--shimmer .lobby-shimmer--thumb,
.cocks-lobby-card.cocks-lobby-card--shimmer .cocks-lobby-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
  display: block;
  aspect-ratio: auto;
}

.game-card--shimmer {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border-radius: 10px;
  border: 1px solid rgba(250, 245, 143, 0.35) !important;
  background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
}

.game-card--shimmer .game-card-bg {
  display: block;
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
}

/* Crash lobby — provider search + card grid */
.crash-page .casino-lobby--crash {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 18px 0 40px;
}

.crash-lobby-providers {
  width: 100%;
  max-width: 100%;
}

.crash-lobby-provider-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  padding: 0 18px;
  min-height: 52px;
  border-radius: 999px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.crash-lobby-provider-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.crash-lobby-provider-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.crash-lobby-provider-search-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  opacity: 0.55;
}

.crash-lobby-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.crash-lobby-provider-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #2a2a2a;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.crash-lobby-provider-card:hover {
  background: #333;
}

.crash-lobby-provider-card.is-active {
  background: linear-gradient(135deg, #f7df53 0%, #f0b429 100%);
  border-color: rgba(255, 214, 90, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 214, 90, 0.35);
}

.crash-lobby-provider-hot {
  position: absolute;
  top: -4px;
  right: 8px;
  width: 34px;
  height: auto;
  pointer-events: none;
}

.crash-lobby-provider-logo {
  display: block;
  width: auto;
  max-width: 78%;
  max-height: 42px;
  object-fit: contain;
}

.crash-lobby-games {
  margin-top: 22px;
}

.crash-lobby-games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.crash-lobby-games-title {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

.crash-lobby-games-search {
  position: relative;
  width: min(100%, 320px);
}

.crash-lobby-games-search-input {
  width: 100%;
  min-height: 42px;
  padding: 0 40px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #2a2a2a;
  color: #fff;
  box-sizing: border-box;
}

.crash-lobby-games-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.crash-lobby-games-search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  opacity: 0.55;
  pointer-events: none;
}

.crash-lobby-games .lobby-game-grid-wrap {
  width: 100%;
}

.crash-lobby-games .lobby-game-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.crash-lobby-games .lobby-game-grid > .lobby-game-card,
.crash-lobby-games .lobby-game-grid > .lobby-game-card--shimmer {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.crash-lobby-games .lobby-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .crash-lobby-provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crash-lobby-games .lobby-game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .crash-page .casino-lobby--crash {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .crash-lobby-provider-search {
    min-height: 48px;
    padding: 0 14px;
  }

  .crash-lobby-provider-card {
    min-height: 76px;
    border-radius: 12px;
  }

  .crash-lobby-games-head {
    flex-direction: column;
    align-items: stretch;
  }

  .crash-lobby-games-search {
    width: 100%;
  }

  .crash-lobby-games .lobby-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}
#root .announcement-box .announcement-popup{
  margin: 1.5rem !important;
}#root .announcement-box .announcement-popup .announcement-content{
  font-size: .8rem !important;
}
/* Home deferred section shimmer (matches / bets / ambassadors) */
.matches-scroll.is-home-deferred.is-shimmer-loading,
.partnership-slider.is-home-deferred.is-shimmer-loading {
  pointer-events: none;
}

.latest-bets-scroll-track.is-home-deferred {
  animation: none;
}

.section--match .match-card.match-card--shimmer {
  min-height: 176px;
  background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
  border: 1px solid rgba(250, 245, 143, 0.2);
  border-radius: 10px;
}

.section--match .match-card.match-card--shimmer .lobby-shimmer--thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.section--match .match-card.match-card--shimmer:nth-child(4n + 1) .lobby-shimmer { animation-delay: 0s; }
.section--match .match-card.match-card--shimmer:nth-child(4n + 2) .lobby-shimmer { animation-delay: 0.12s; }
.section--match .match-card.match-card--shimmer:nth-child(4n + 3) .lobby-shimmer { animation-delay: 0.24s; }
.section--match .match-card.match-card--shimmer:nth-child(4n + 4) .lobby-shimmer { animation-delay: 0.36s; }

.latest-bets-row--shimmer td {
  padding-top: 12px;
  padding-bottom: 12px;
  vertical-align: middle;
}

.lobby-shimmer--line {
  display: block;
  height: 12px;
  width: 78%;
  border-radius: 6px;
  position: static;
}

.lobby-shimmer--line-provider {
  width: 92px;
  height: 22px;
  border-radius: 8px;
}

.lobby-shimmer--line-sm {
  width: 48%;
  margin-left: auto;
}

.lobby-shimmer--line-title {
  width: 70%;
  height: 18px;
  margin-bottom: 12px;
}

.latest-bets-row--shimmer:nth-child(4n + 1) .lobby-shimmer { animation-delay: 0s; }
.latest-bets-row--shimmer:nth-child(4n + 2) .lobby-shimmer { animation-delay: 0.1s; }
.latest-bets-row--shimmer:nth-child(4n + 3) .lobby-shimmer { animation-delay: 0.2s; }
.latest-bets-row--shimmer:nth-child(4n + 4) .lobby-shimmer { animation-delay: 0.3s; }

.partnership.partnership--shimmer {
  pointer-events: none;
}

.ambassador-video--shimmer {
  position: relative;
  overflow: hidden;
}

.ambassador-media--shimmer {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: #1a1a1a;
}

.ambassador-media--shimmer .lobby-shimmer--thumb {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.ambassador-text--shimmer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.ambassador-text--shimmer .lobby-shimmer--line-sm {
  margin-left: 0;
  width: 40%;
}

@media (max-width: 1000px) {
  .ambassador-media--shimmer {
    min-height: 180px;
  }
}
