/* =============================================================================
   77b BO parity (ported from ko6) — layout/UX only
   Colors via var(--f168-*) / Theme color site 77b. Do not replace custom.css brand.
   Generated for site template 77b. Safe to re-run scripts/port-77b-parity.py
   ============================================================================= */

/* --- mine coupon combin icon --- */
/* BO combin icon — style_7_icon_zkq + style_7_icon_zkq1 (badge + %) */
.mine-list__icon--combin {
  color: inherit;
}

.mine-list__combin-icon {
  position: relative;
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  line-height: 1;
}

.mine-list__combin-icon-layer {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mine-list__combin-icon-layer svg {
  width: 1em;
  height: 1em;
  display: block;
}

.mine-list__combin-icon-layer--lead {
  color: var(--f168-text-dark);
}

.mine-list__combin-icon-layer--primary {
  color: hsl(var(--main));
}


/* --- deposit bonus badge --- */
/* Badge thưởng kênh nạp — text pill (clone 789k _deposit-bonus-badge), không icon gift */
.deposit-bonus-badge {
  position: absolute;
  top: -6px;
  right: -20px;
  z-index: 2;
  display: inline-block;
  box-sizing: border-box;
  max-width: 88px;
  --badge-bg-color: var(--f168-accent-secondary);
  background-color: var(--badge-bg-color);
  border-radius: 999px;
  padding: 2px 8px 2px 6px;
  color: var(--f168-bg-page);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  pointer-events: none;
}

.deposit-bonus-badge::before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: -5px;
  z-index: 20;
  left: 0;
  width: 0;
  height: 0;
  border-left: 8px solid var(--badge-bg-color);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  font-size: 0;
}

[dir="rtl"] .deposit-bonus-badge::before {
  border-left: none;
  border-right: 4px solid var(--badge-bg-color);
  right: 0;
  left: auto;
}

.user-section__nav-icon > .deposit-bonus-badge,
.mine-quick-btn__icon-wrap > .deposit-bonus-badge {
  top: -6px;
  right: -20px;
}

.deposit-popup__tab > .deposit-bonus-badge {
  top: -6px;
  right: 20px;
}

.user-section__nav-icon > img {
  position: relative;
  z-index: 0;
}


/* --- deposit amount combo / reward / hint --- */
/* Amount */
.deposit-popup__amount-btn--active,
.deposit-popup__amount-btn--active:hover,
.deposit-popup__amount-btn--active:focus {
  border-color: var(--f168-accent);
  box-shadow: 0 0 0 1px var(--f168-accent) inset;
  background: var(--f168-accent-tint-strong);
}
.deposit-popup__amount-btn .deposit-popup__amount-label-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
  width: 100%;
}
.deposit-popup__amount-btn .deposit-popup__amount-label {
  display: block;
  width: 100%;
  padding: 7px 6px 6px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--f168-text-white);
  background: var(--f168-bg-inverse-surface);
}
.deposit-popup__amount-btn .deposit-popup__amount-reward-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 18px;
  padding: 2px 6px 3px;
  background: var(--f168-bg-inverse);
  line-height: 1;
}
.deposit-popup__amount-btn .deposit-popup__amount-reward-box[hidden] {
  display: none !important;
}
.deposit-popup__amount-btn--active .deposit-popup__amount-label {
  color: var(--f168-accent);
  background: var(--f168-accent-tint);
}
.deposit-popup__amount-btn--active .deposit-popup__amount-reward-box {
  background: var(--f168-bg-inverse);
}
.deposit-popup__amount-btn .deposit-popup__amount-reward {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--f168-accent);
  white-space: nowrap;
}
.deposit-popup__amount-combo {
  margin-top: 10px;
}
.deposit-popup__amount-combo--has-value .deposit-popup__amount-input-wrap {
  border-color: var(--f168-status-success);
  background: rgba(var(--f168-status-success__toRgbString), 0.06);
  border-radius: 10px 10px 0 0;
}
.deposit-popup__amount-input-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--f168-text-muted);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}
.deposit-popup__amount-input-clear i,
.deposit-popup__amount-input-clear .las {
  font-size: 1.65rem;
  line-height: 1;
}
.deposit-popup__amount-input-clear:hover {
  color: var(--f168-text-dark);
}
.deposit-popup__amount-input-clear.is-visible {
  display: inline-flex;
}
.deposit-popup__amount-hint {
  display: none;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(var(--f168-accent__toRgbString), 0.4);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: rgba(var(--f168-accent__toRgbString), 0.06);
  font-size: 11px;
  color: var(--f168-text-dark);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deposit-popup__amount-combo--has-value .deposit-popup__amount-hint {
  display: block;
}
.deposit-popup__amount-exchange {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 2px 8px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.deposit-popup__amount-exchange-label {
  color: var(--f168-text-dark);
}
.deposit-popup__amount-exchange-info {
  color: var(--f168-text-dark);
  font-weight: 700;
}
.deposit-popup__amount-hint-total,
.deposit-popup__amount-hint-reward {
  color: var(--f168-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- BO ui-dialog / lucky-wheel overlays --- */
/* Lucky wheel — BO ui-dialog (Mẹo / Thông báo) — tone F168 / Asia Gaming */
.lw-bo-dialog-overlay {
  --ui-overlay-z-index: 10050;
  --ui-overlay-background: rgba(0, 0, 0, 0.55);
  position: fixed;
  inset: 0;
  z-index: var(--ui-overlay-z-index);
  width: 100%;
  max-width: var(--f168-shell-width, 480px);
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  background-color: var(--ui-overlay-background);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  touch-action: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lw-bo-dialog-overlay[data-hidden="0"] {
  opacity: 1;
  visibility: visible;
}

.lw-bo-dialog-overlay .ui-popup {
  position: relative;
  left: 0;
  right: 0;
  width: fit-content;
  max-width: calc(100% - 0.32rem);
  margin: 0 auto;
  max-height: 100%;
  box-sizing: border-box;
  transform-origin: center center;
  overflow: visible;
}

.lw-bo-dialog-overlay .ui-dialog {
  width: 6.9rem;
  max-width: calc(100% - 0.32rem);
  font-size: 0.16rem;
  transform-origin: center center;
  background-color: transparent;
  overflow-y: visible;
  max-height: 100vh;
}

.lw-bo-dialog-overlay .ui-dialog__main {
  width: 100%;
  background: var(--f168-bg-surface);
  border-radius: 0.2rem;
  box-shadow: 0 0.12rem 0.4rem rgba(0, 0, 0, 0.12);
  backface-visibility: hidden;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.lw-bo-dialog-overlay .ui-dialog__header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.3rem;
  font-weight: 400;
  color: var(--f168-text-dark);
  padding: 0.2rem 0.3rem 0.3rem;
  box-sizing: border-box;
  line-height: 1.5;
}

.lw-bo-dialog-overlay .ui-dialog__header__icon {
  font-size: 0.32rem;
  width: 0.32rem;
  height: 0.32rem;
  margin-right: 0.1rem;
  line-height: 1;
  position: relative;
  top: -0.02rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.lw-bo-dialog-overlay .ui-dialog__header__icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

.lw-bo-dialog-overlay .ui-dialog__header--important__icon,
.lw-bo-dialog-overlay .ui-dialog__header--important--title {
  color: hsl(var(--main));
}

.lw-bo-dialog-overlay .ui-dialog__header--success__icon {
  color: var(--f168-bg-page);
  border-radius: 100%;
  background-color: hsl(var(--main));
}

.lw-bo-dialog-overlay .ui-dialog__header--success--title {
  color: var(--f168-text-dark);
  font-weight: 600;
}

.lw-bo-dialog-overlay .ui-dialog__header--warning__icon {
  color: var(--f168-bg-page);
  border-radius: 100%;
  background-color: hsl(var(--main));
  padding: 0.04rem;
  box-sizing: border-box;
}

.lw-bo-dialog-overlay .ui-dialog__header--warning--title {
  color: var(--f168-text-dark);
  font-weight: 600;
}

.lw-bo-dialog-overlay .ui-dialog__content {
  flex: 1;
  padding: 0 0.3rem 0.2rem;
  box-sizing: border-box;
  min-height: 0.92rem;
  color: var(--f168-text-dark);
}

.lw-bo-dialog-overlay .ui-dialog__message {
  color: var(--f168-text-muted);
  flex: 1;
  overflow-y: auto;
  font-size: 0.22rem;
  line-height: 1.64;
  white-space: pre-wrap;
  text-align: center;
  word-wrap: break-word;
}

.lw-bo-dialog-overlay .ui-dialog__message--error {
  font-weight: 600;
  color: var(--f168-text-dark);
}

.lw-bo-dialog-overlay .ui-dialog__footer {
  display: flex;
  overflow: hidden;
  user-select: none;
  padding: 0.2rem 0.3rem 0.3rem;
  box-sizing: border-box;
  gap: 0.2rem;
  border-top: thin solid var(--f168-border);
}

.lw-bo-dialog-overlay .ui-button {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  height: 0.7rem;
  padding: 0;
  font-size: 0.25rem !important;
  line-height: 1.2;
  text-align: center;
  border-radius: 0.14rem;
  cursor: pointer;
  border: thin solid transparent;
  transition: opacity 0.2s;
  appearance: none;
  font-family: inherit;
}

.lw-bo-dialog-overlay .ui-button--primary {
  color: var(--f168-text-dark);
  background: hsl(var(--main));
  border-color: hsl(var(--main));
}

.lw-bo-dialog-overlay .ui-button--primary:hover {
  opacity: 0.92;
}

.lw-bo-dialog-overlay .ui-button--large,
.lw-bo-dialog-overlay .ui-dialog__confirm {
  width: 100%;
  height: 0.7rem;
  flex: 1;
}

.lw-bo-verify-overlay .lw-bo-verify-content {
  text-align: left;
}

.lw-bo-verify-overlay .lw-bo-verify-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lw-bo-verify-overlay .lw-bo-verify-step {
  margin: 0 0 0.24rem;
}

.lw-bo-verify-overlay .lw-bo-verify-step:last-child {
  margin-bottom: 0;
}

.lw-bo-verify-overlay .lw-bo-verify-step__title {
  margin: 0 0 0.1rem;
  font-size: 0.22rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--f168-text-dark);
}

.lw-bo-verify-overlay .lw-bo-verify-step__line {
  margin: 0;
  font-size: 0.22rem;
  line-height: 1.5;
  color: var(--f168-text-dark);
}

.lw-bo-verify-overlay .lw-bo-verify-step__label {
  font-weight: 600;
}

.lw-bo-verify-overlay .lw-bo-verify-step__num {
  text-decoration: underline;
  text-underline-offset: 0.06em;
}

.lw-bo-verify-overlay .lw-bo-verify-telegram {
  display: inline;
  margin-left: 0.06rem;
  white-space: nowrap;
}

.lw-bo-verify-overlay .lw-bo-verify-telegram a {
  color: hsl(var(--main));
  font-weight: 600;
  text-decoration: none;
}

.lw-bo-verify-overlay .lw-bo-verify-telegram a:hover {
  text-decoration: underline;
}

.lw-bo-verify-overlay .lw-bo-verify-step--input .lw-bo-verify-input {
  margin-top: 0.08rem;
}

.lw-bo-verify-overlay .lw-bo-verify-input {
  font-size: 15px !important;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.16rem 0.2rem;
  font-size: 0.24rem;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-align: center;
  border: thin solid var(--f168-border);
  border-radius: 0.12rem;
  background: var(--f168-bg-surface);
  color: var(--f168-text-dark);
}

.lw-bo-verify-overlay .lw-bo-verify-error {
  margin: 0.12rem 0 0;
  font-size: 0.2rem;
  line-height: 1.4;
  color: var(--f168-status-error);
  text-align: center;
}

/* =============================================================================
   BO promote clone — /user/referral (F168 light theme, shell 480px)
   Layout clone 789k.ing; màu nền trắng + chữ tối theo asiagaming.bet
   ============================================================================= */

.bo-referral-page {
  --f168-accent__toRgbString: 255, 173, 0;
}

.bo-referral-page .bo-search-page__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0.8rem 1rem;
  background: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
}

.bo-referral-page .bo-search-page__header h3.bo-search-page__title {
  color: var(--f168-text-dark);
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  margin: 0;
  line-height: 1.2 !important;
}

.bo-referral-page .bo-search-page__back {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--f168-text-muted);
  font-size: 1.25rem;
  display: inline-flex;
  text-decoration: none;
}

.bo-referral-page {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--f168-shell-width, 480px);
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  background: var(--f168-bg-page);
  color: var(--f168-text-muted);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, Roboto,
    'PingFang SC', miui, 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}

.bo-referral-page *,
.bo-referral-page *::before,
.bo-referral-page *::after {
  box-sizing: border-box;
}

/* Header: reuse .bo-search-page__header / __back / __title (search.blade.php) */

.bo-referral-page__tabs.ui-tabs__wrap {
  position: relative;
  padding: 0px;
  background: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
}

.bo-referral-page__tabs ._main_pjnd2_56 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 7px 10px;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bo-referral-page__tabs ._main_pjnd2_56::-webkit-scrollbar {
  display: none;
}

.bo-referral-page__tabs .ui-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 8px 4px;
  color: var(--f168-text-muted);
  cursor: pointer;
  user-select: none;
}

.bo-referral-page__tabs ._title_nd9o8_68 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bo-referral-page__tabs ._name_nd9o8_68 {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.2;
  white-space: nowrap;
}

.bo-referral-page__tabs .ui-tab.ui-tab--active {
  color: var(--f168-accent);
}

.bo-referral-page__tabs .ui-tabs__line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: var(--f168-accent);
  transform: translateX(38px) translateX(-50%);
  transition: transform 0.3s ease, width 0.3s ease;
}

.bo-referral-page__panels {
  display: block;
}

.bo-referral-page__panel[hidden] {
  display: none !important;
}

/* Empty tabs — BO ui-list + ui-empty (promote) */
.bo-referral-page__empty-wrap.ui-list {
  position: relative;
  min-height: clamp(200px, 52vw, 260px);
  padding: 10px;
  box-sizing: border-box;
}

.bo-referral-page__empty-wrap.ui-list__center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: clamp(200px, 52vw, 260px);
}

.bo-referral-page__empty-wrap .ui-list__container {
  width: 100%;
}

.bo-referral-page__empty-wrap .ui-list__end {
  height: 0;
  pointer-events: none;
}

.bo-referral-page__empty-wrap .ui-empty.ui-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.bo-referral-page__empty-wrap .ui-empty__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bo-referral-page__empty-wrap .ui-empty__image--normal {
  display: block;
  width: clamp(108px, 28vw, 136px);
  height: auto;
  margin-top: clamp(8px, 2.5vw, 13px);
  margin-bottom: clamp(8px, 2.5vw, 13px);
  object-fit: contain;
}

.bo-referral-page__empty-wrap .ui-empty__text--normal {
  margin: 0 0 clamp(16px, 4.5vw, 24px);
  text-align: center;
  max-width: min(100%, 320px);
}

.bo-referral-page__empty-wrap ._noContent_1lqgo_45 {
  display: inline-flex;
  align-items: center;
  line-height: 1.45;
  font-size: clamp(14px, 3.6vw, 17px);
  color: var(--f168-text-muted);
}

.bo-referral-page__empty-wrap ._noContent_1lqgo_45 ._retry_1lqgo_51 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: clamp(6px, 1.8vw, 8px);
  font-size: clamp(16px, 4vw, 18px);
  color: var(--f168-accent);
  cursor: pointer;
  vertical-align: middle;
}

.bo-referral-page__empty-wrap ._noContent_1lqgo_45 ._retry_1lqgo_51 svg {
  display: block;
  width: 1em;
  height: 1em;
}

.bo-referral-page__body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bo-referral-page__card {
  background: var(--f168-bg-surface);
  border-radius: 10px;
  border: 1px solid var(--f168-border);
}

/* Summary card — BO _agent-info_1g6ox (scale 750→487, ~64.93px/rem) */
.bo-referral-page__summary {
  padding: 0;
  border: none;
  background: transparent;
}

.bo-referral-page__summary ._agent-info-container_1g6ox_45 {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  background-color: var(--f168-bg-page);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.bo-referral-page__summary ._agent-info-content_1g6ox_67 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.bo-referral-page__summary ._agent-info-content-login_1g6ox_72 {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--f168-border);
}

.bo-referral-page__summary ._agent-level_fpulo_45 {
  position: relative;
  flex: 0 0 65px;
  margin-right: 3px;
}

.bo-referral-page__summary ._agent-level_fpulo_45 img {
  display: block;
  width: 60px;
  height: auto;
}

.bo-referral-page__summary ._agent-level_fpulo_45 ._qu_fpulo_51 {
  position: absolute;
  top: 0;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--f168-accent);
  color: var(--f168-bg-page);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Grid 2×2 bên phải medal — BO width 5.5rem */
.bo-referral-page__summary ._promote-info_1g6ox_96 {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  width: calc(100% - 68px);
  min-width: 0;
  margin-left: 13px;
}

.bo-referral-page__summary ._promote-info_1g6ox_96 > p {
  box-sizing: border-box;
  width: 50%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 14px;
  line-height: 1.2;
  color: var(--f168-text-muted);
}

.bo-referral-page__summary ._promote-info_1g6ox_96 > p:nth-child(1),
.bo-referral-page__summary ._promote-info_1g6ox_96 > p:nth-child(2) {
  margin-bottom: 6px;
}

.bo-referral-page__summary ._promote-info_1g6ox_96 label {
  flex: 0 0 auto;
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--f168-text-muted);
  max-width: 154px;
  word-break: keep-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-referral-page__summary ._commission-settle-duration_1g6ox_155 {
  flex-direction: column;
  align-items: flex-start;
}

.bo-referral-page__summary ._commission-settle-duration_1g6ox_155 label {
  max-width: 100%;
  margin-bottom: 2px;
}

.bo-referral-page__summary ._platformId_1g6ox_129 {
  max-width: 81px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--f168-accent);
}

.bo-referral-page__summary ._clickable_1g6ox_142 {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bo-referral-page__summary ._promote-info_1g6ox_96 ._number-column_sadkg_45 {
  color: var(--f168-text-dark);
  font-size: 14px;
  font-weight: 400;
  word-break: break-all;
  display: inline-flex;
  align-items: center;
}

.bo-referral-page__summary ._agent-mode-name_1g6ox_80 {
  display: inline-block;
  max-width: 172px;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(var(--f168-accent__toRgbString), 0.3);
  background: rgba(var(--f168-accent__toRgbString), 0.1);
  color: var(--f168-text-dark);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bo-referral-page__summary ._commission-settle-duration_1g6ox_155 span {
  font-size: 14px;
  font-weight: 400;
  color: var(--f168-text-dark);
}

.bo-referral-page__summary ._event-list-item_1g6ox_158 {
  padding-bottom: 0;
}

.bo-referral-page__summary ._title_1g6ox_180 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.bo-referral-page__summary ._commission-title_1g6ox_192 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--f168-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.bo-referral-page__summary ._commission-title_1g6ox_192 > span:first-child {
  display: block;
  margin-right: 0;
  margin-bottom: 2px;
  color: var(--f168-text-dark);
  font-size: 14px;
  font-weight: 700;
}

.bo-referral-page__summary ._count-down_1pp8f_45,
.bo-referral-page__summary ._count-down_1g6ox_200 {
  display: block;
  align-items: center;
  vertical-align: baseline;
  color: var(--f168-text-muted);
  font-size: 13px;
  line-height: 14px;
  white-space: nowrap;
}

.bo-referral-page__summary ._count-down_1pp8f_45 > span {
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
}

.bo-referral-page__summary ._count-down_1pp8f_45 i {
  font-style: normal;
  line-height: 14px;
}

.bo-referral-page__summary ._count-down_1pp8f_45 i:first-child {
  margin-right: 3px;
}

.bo-referral-page__summary ._arrow_1g6ox_210 {
  flex: 0 0 65px;
  width: 65px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--f168-text-muted);
}

.bo-referral-page__summary ._arrow_1g6ox_210 .ui-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.3s linear;
}

/* BO: symbol #ui-arrow-418a3a hướng trái; --right xoay 180deg */
.bo-referral-page__summary ._arrow_1g6ox_210 .ui-arrow.ui-arrow--right {
  transform: rotate(180deg);
}

/* Hàng số liệu — cột cố định 2.65rem như BO */
.bo-referral-page__summary ._row_1g6ox_218 {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.bo-referral-page__summary ._row_1g6ox_218:not(:last-child) {
  margin-bottom: 13px;
}

.bo-referral-page__summary ._col_1g6ox_226 {
  flex: 0 0 130px;
  width: 130px;
  max-width: 48%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  font-size: 14px;
  color: var(--f168-text-muted);
}

.bo-referral-page__summary ._col_1g6ox_226 label {
  flex: 0 0 100%;
  width: 100%;
  margin: 0 0 3px;
  padding: 0;
  font-size: 14px;
  line-height: 1.2;
  color: var(--f168-text-muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.bo-referral-page__summary ._col-no-wrap_1g6ox_266 {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.bo-referral-page__summary ._unclaimed_1g6ox_245 {
  flex: 0 0 136px;
  width: 136px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.bo-referral-page__summary ._unclaimed_1g6ox_245 label {
  flex: 0 0 100%;
}

.bo-referral-page__summary ._value_1g6ox_239,
.bo-referral-page__summary ._col_1g6ox_226 ._number-column_sadkg_45 {
  margin-right: 2px;
  color: var(--f168-text-dark);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  word-break: break-word;
}

.bo-referral-page__summary ._number-column-yellow_sadkg_52 {
  color: var(--f168-accent) !important;
}

.bo-referral-page__summary .ui-button {
  flex: 0 0 65px;
  width: 65px;
  height: 26px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 5px;
  line-height: 26px;
}

.bo-referral-page__summary .ui-button--success:not(.ui-button--disabled) {
  background: var(--f168-accent);
  color: var(--f168-bg-page);
}

.bo-referral-page__summary .ui-button--disabled {
  background: var(--f168-border);
  color: var(--f168-bg-page);
  opacity: 1;
  cursor: not-allowed;
}

.bo-referral-page__summary .ui-button__content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.bo-referral-page__summary .ui-button__text {
  font-size: 12px;
  font-weight: 400;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bo-referral-page__copy {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--f168-accent);
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.bo-referral-page__copy--field {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--f168-accent);
  color: var(--f168-bg-page);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bo-referral-page__claim {
  border: 0;
  border-radius: 6px;
  background: var(--f168-text-dark);
  color: var(--f168-border);
  font-size: 12px;
  font-weight: 600;
  min-width: 48px;
  height: 28px;
  padding: 0 8px;
}

.bo-referral-page__claim:disabled {
  opacity: 0.95;
  cursor: not-allowed;
}

.bo-referral-page__ticker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--f168-accent-secondary) 0%, var(--f168-accent-secondary) 45%, var(--f168-status-error) 100%);
  box-shadow: 0 0 0 1px rgba(255, 180, 60, 0.55), 0 0 12px rgba(255, 120, 0, 0.35);
}

.bo-referral-page__ticker::before,
.bo-referral-page__ticker::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--f168-accent), var(--f168-status-error), transparent);
  opacity: 0.85;
}

.bo-referral-page__ticker::before {
  top: 0;
}

.bo-referral-page__ticker::after {
  bottom: 0;
}

.bo-referral-page__ticker-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bo-referral-page__ticker-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bo-referral-page__ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, var(--f168-text-dark) 6%, var(--f168-text-dark) 94%, transparent);
}

.bo-referral-page__ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: bo-referral-ticker 28s linear infinite;
}

.bo-referral-page__ticker-track span {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--f168-bg-page);
  white-space: nowrap;
}

@keyframes bo-referral-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.bo-referral-page__invite {
  padding: 12px;
}

.bo-referral-page__invite-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.bo-referral-page__invite-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--f168-text-dark);
}

.bo-referral-page__invite-head p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 11px;
  color: var(--f168-text-muted);
  text-align: right;
}

.bo-referral-page__invite-head p strong {
  color: var(--f168-text-dark);
  font-size: 14px;
  font-weight: 700;
}

.bo-referral-page__invite-body {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px;
}

.bo-referral-page__qr img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px 6px 0px 0px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--f168-bg-page);
  display: block;
  padding:5px;
}

.bo-referral-page__qr button {
  margin-top: 0px;
  width: 100%;
  height: 30px;
  border: 0;
  border-radius: 0px 0px 6px 6px;
  background: var(--f168-accent);
  color: var(--f168-bg-page);
  font-size: 11px !important;
  font-weight: 400;
}

.bo-referral-page__link {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 4px 0 8px;
  border-radius: 8px;
  background: var(--f168-bg-surface);
  border: 1px solid var(--f168-border);
}

.bo-referral-page__link input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--f168-text-dark);
  font-size: 11px;
}

.bo-referral-page__link input:focus {
  outline: 0;
}

.bo-referral-page__link-caret {
  border: 0;
  background: transparent;
  color: var(--f168-text-muted);
  font-size: 14px;
  padding: 0 4px;
  line-height: 1;
}

.bo-referral-page__social {
  display: flex;
  gap: 15px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bo-referral-page__social::-webkit-scrollbar {
  display: none;
}

.bo-referral-page__social-item {
  flex: 0 0 auto;
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  font-size: clamp(12px, 3.7vw, 14px);
  color: var(--f168-text-muted);
  text-align: center;
  line-height: 1.15;
}

.bo-referral-page__social-item:not(.is-share) {
  gap: clamp(4px, 1.7vw, 7px);
}

.bo-referral-page__social-icon {
  width: clamp(42px, 12.7vw, 45px);
  height: clamp(42px, 12.7vw, 45px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--f168-bg-surface);
}

.bo-referral-page__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* BO _shareIcon_1jeu6_61 — circle border + primary icon (not filled mint bg) */
.bo-referral-page__social-item.is-share {
  gap: 0;
}

.bo-referral-page__share-icon {
  width: clamp(42px, 12.7vw, 45px);
  height: clamp(42px, 12.7vw, 45px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--f168-accent);
  border: 1px solid var(--f168-border);
  box-sizing: border-box;
  background: transparent;
}

.bo-referral-page__share-icon-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bo-referral-page__share-icon-inner svg {
  width: clamp(20px, 6.4vw, 23px);
  height: auto;
  display: block;
}

.bo-referral-page__share-text {
  color: var(--f168-text-muted);
  font-size: 11px;
  line-height: 1.15;
  margin-top: clamp(4px, 1.7vw, 7px);
  text-align: center;
  word-wrap: break-word;
  display: inline-block;
  max-width: clamp(65px, 20vw, 71px);
}

.bo-referral-page__social-icon.is-youtube {
  background: var(--f168-status-error);
  color: var(--f168-bg-page);
  font-size: 18px;
}

.bo-referral-page__social-icon.is-zalo {
  background: var(--f168-accent-secondary);
  color: var(--f168-bg-page);
  font-size: 12px;
  font-weight: 700;
}

.bo-referral-page__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bo-referral-page__action {
  min-height: 42px;
  padding: 0 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.bo-referral-page__action-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bo-referral-page__action-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bo-referral-page__action-text {
  flex: 1;
  min-width: 0;
}

.bo-referral-page__action i {
  font-size: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.bo-referral-page__action.is-green {
  background: linear-gradient(90deg, var(--f168-status-success) 0%, var(--f168-status-success) 100%);
  color: var(--f168-bg-inverse-surface);
}

.bo-referral-page__action.is-orange {
  background: linear-gradient(90deg, var(--f168-accent) 0%, var(--f168-status-error) 100%);
  color: var(--f168-bg-inverse-surface);
}

.bo-referral-page__reward {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.bo-referral-page__reward p {
  margin: 0;
  max-width: 55%;
  font-size: 11px;
  color: var(--f168-text-muted);
  line-height: 1.35;
}

.bo-referral-page__reward-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bo-referral-page__reward-right strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--f168-accent);
}

.bo-referral-page__summary ._agent-info-container_1g6ox_45 {
  border: 1px solid var(--f168-border);
}

.bo-referral-page__summary ._agent-level_fpulo_45 ._qu_fpulo_51 {
  background-color: var(--f168-accent);
  color: var(--f168-bg-page);
}

.bo-referral-page__summary .ui-button--success:not(.ui-button--disabled) {
  background: var(--f168-accent);
  color: var(--f168-bg-page);
}

.bo-referral-page__claim {
  background: var(--f168-border);
  color: var(--f168-text-muted);
}

.bo-referral-page__reward-right strong {
  color: var(--f168-accent);
}

.bo-referral-page__action.is-green {
  background: linear-gradient(90deg, var(--f168-accent-secondary) 0%, var(--f168-accent) 100%);
  color: var(--f168-bg-page);
}

.bo-referral-page__action.is-orange {
  background: linear-gradient(90deg, var(--f168-accent) 0%, var(--f168-accent) 100%);
  color: var(--f168-bg-inverse-surface);
}

.bo-referral-page__body {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}


/* =============================================================================
   BO user/profile-setting — F168 light theme, shell 480px
   Layout clone 789k.ing; nền trắng + chữ tối
   ============================================================================= */

.bo-profile-page .bo-search-page__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0.8rem 1rem;
  background: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
}

.bo-profile-page .bo-search-page__header h3.bo-search-page__title {
  color: var(--f168-text-dark);
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  margin: 0;
  line-height: 1.2 !important;
}

.bo-profile-page .bo-search-page__back {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--f168-text-muted);
  font-size: 1.25rem;
  display: inline-flex;
  text-decoration: none;
}

.bo-profile-page {
  --bo-prof-bg: var(--f168-bg-page);
  --bo-prof-surface: var(--f168-bg-page);
  --bo-prof-border: var(--f168-border);
  --bo-prof-lead: var(--f168-text-dark);
  --bo-prof-muted: var(--f168-text-muted);
  --bo-prof-muted-3: var(--f168-text-muted);
  --bo-prof-accent: var(--f168-accent);
  --bo-prof-fs-section: clamp(14px, 3.35vw, 15px);
  --bo-prof-fs-id: clamp(16px, 3.85vw, 18px);
  --bo-prof-fs-label: clamp(12px, 2.85vw, 13px);
  --bo-prof-fs-input: clamp(13px, 3.05vw, 14px);
  --bo-prof-fs-hint: clamp(11px, 2.55vw, 12px);
  box-sizing: border-box;
  width: 100%;
  max-width: var(--f168-shell-width, 480px);
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  background: var(--bo-prof-bg);
  color: var(--bo-prof-lead);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, Roboto,
    'PingFang SC', miui, 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}

.bo-profile-page *,
.bo-profile-page *::before,
.bo-profile-page *::after {
  box-sizing: border-box;
}

.bo-profile-page__content {
  padding: 8px 10px 96px;
  color: var(--bo-prof-muted);
}

.bo-profile-form {
  margin: 0;
}

.bo-profile-page .theme-box-shadow {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.bo-profile-card {
  border-radius: 8px;
  border: 1px solid var(--bo-prof-border);
  background: var(--bo-prof-surface);
  padding: 11px 10px;
}

.bo-profile-card__avatar-area {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bo-profile-card__avatar-wrap {
  position: relative;
  flex: 0 0 auto;
  width: clamp(50px, 12.5vw, 56px);
  height: clamp(50px, 12.5vw, 56px);
}

.bo-profile-card__avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid var(--f168-border);
}

.bo-profile-card__avatar-edit {
  position: absolute;
  right: -1px;
  top: -1px;
  width: clamp(16px, 4vw, 18px);
  height: clamp(16px, 4vw, 18px);
  border-radius: 50%;
  background: var(--bo-prof-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--bo-prof-surface);
}

.bo-profile-card__avatar-edit img {
  width: 11px;
  height: 11px;
  filter: brightness(0) invert(1);
}

.bo-profile-card__vip-badge {
  position: absolute;
  left: 0;
  bottom: -6px;
  min-width: 38px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--f168-status-success);
  color: var(--bo-prof-lead);
  font-size: var(--bo-prof-fs-hint);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.bo-profile-card__meta {
  min-width: 0;
  flex: 1;
}

.bo-profile-card__line {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 4px;
  line-height: 1.3;
}

.bo-profile-card__line + .bo-profile-card__line {
  margin-top: 5px;
}

.bo-profile-card__label {
  color: var(--bo-prof-muted);
  font-size: var(--bo-prof-fs-label);
  font-weight: 400;
}

.bo-profile-card__value {
  color: var(--bo-prof-lead);
  font-size: var(--bo-prof-fs-id);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bo-profile-card__line--id {
  align-items: center;
}

.bo-profile-card__id-text {
  color: var(--bo-prof-muted);
  font-size: var(--bo-prof-fs-label);
  font-weight: 400;
  letter-spacing: 0;
}

.bo-profile-copy {
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: var(--bo-prof-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 3.2vw, 16px);
  padding: 0;
  margin-left: 2px;
}

.bo-profile-card__line--nick {
  align-items: center;
  line-height: 1;
}

.bo-profile-card__line--nick .bo-profile-card__label {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.bo-profile-card__placeholder {
  color: var(--bo-prof-muted);
  font-size: var(--bo-prof-fs-label);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bo-profile-card__placeholder i {
  color: var(--bo-prof-accent);
  font-size: clamp(12px, 2.9vw, 13px);
}

.bo-profile-card__nick-input {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
  margin-bottom: 0px;
}

.bo-profile-card__nick-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--bo-prof-muted);
  font-size: var(--bo-prof-fs-label);
  font-weight: 400;
  line-height: 1;
  height: 1em;
  min-height: 0;
  outline: none;
  padding: 0;
  margin: 0;
}

.bo-profile-card__nick-input input::placeholder {
  color: var(--bo-prof-muted-3);
}

.bo-profile-card__nick-input i {
  color: var(--bo-prof-accent);
  font-size: clamp(12px, 2.9vw, 13px);
  flex-shrink: 0;
}

.bo-profile-card__nick-check {
  font-size: clamp(12px, 2.9vw, 13px);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.bo-profile-input__select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--bo-prof-muted);
  font-size: var(--bo-prof-fs-input);
  font-weight: 400;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
}

.bo-profile-input__select option {
  color: var(--f168-bg-inverse);
  background: var(--f168-bg-page);
}

.bo-profile-input input[type="date"] {
  color-scheme: light;
}

.bo-profile-page__small-title,
.bo-profile-page__group-title,
.bo-profile-page__birthday-title {
  margin: 12px 0 7px;
  color: var(--bo-prof-lead);
  font-size: var(--bo-prof-fs-section);
  font-weight: 700;
  line-height: 1.3;
}

.bo-profile-page__small-title {
  margin-top: 10px;
}

.bo-profile-page__birthday-title span {
  color: var(--bo-prof-muted-3);
  font-size: var(--bo-prof-fs-hint);
  font-weight: 400;
}

.bo-profile-input-list {
  display: grid;
  gap: 7px;
}

.bo-profile-input {
  display: flex;
  align-items: center;
  min-height: clamp(40px, 10vw, 44px);
  border-radius: 8px;
  border: 1px solid hsl(var(--main));
  background: var(--bo-prof-surface);
  color: var(--bo-prof-lead);
  padding: 0 10px;
  margin-bottom: 5px;
}

.bo-profile-input input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--bo-prof-muted);
  font-size: var(--bo-prof-fs-input);
  font-weight: 400;
  outline: none;
}

.bo-profile-input input::placeholder {
  color: var(--bo-prof-muted-3);
  font-weight: 400;
}

.bo-profile-input__prefix {
  margin-right: 6px;
  color: var(--bo-prof-muted);
  font-weight: 400;
  font-size: var(--bo-prof-fs-input);
  flex-shrink: 0;
}

.bo-profile-input--select input[readonly] {
  color: var(--bo-prof-muted);
}

.bo-profile-input--display {
  cursor: default;
}

.bo-profile-input__prefix--user {
  color: var(--bo-prof-muted-3);
  font-size: clamp(16px, 3.8vw, 18px);
}

.bo-profile-input__display-value {
  color: var(--bo-prof-lead);
  font-weight: 400;
  pointer-events: none;
}

.bo-profile-input__suffix {
  margin-left: auto;
  padding-left: 6px;
  color: var(--bo-prof-muted-3);
  font-size: clamp(14px, 3.2vw, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bo-profile-input--social {
  cursor: text;
}

.bo-profile-input__social {
  width: clamp(22px, 5.4vw, 24px);
  height: clamp(22px, 5.4vw, 24px);
  border-radius: 50%;
  margin-right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(12px, 2.9vw, 14px);
  color: var(--f168-bg-page);
  flex-shrink: 0;
}

.bo-profile-input__social--wechat {
  background: var(--f168-status-success);
}

.bo-profile-input__social--whatsapp {
  background: var(--f168-status-success);
}

.bo-profile-input__social--facebook {
  background: var(--f168-accent-secondary);
}

.bo-profile-input__social--telegram {
  background: var(--f168-accent-secondary);
}

.bo-profile-input--select input[readonly] {
  cursor: default;
}

.bo-profile-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--f168-shell-width, 480px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 9px 10px 12px;
  background: color-mix(in srgb, var(--bo-prof-bg) 94%, transparent);
  border-top: 1px solid var(--bo-prof-border);
  z-index: 30;
}

.bo-profile-btn {
  min-height: clamp(40px, 10vw, 42px);
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: clamp(14px, 3.25vw, 15px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bo-profile-btn--default {
  border-color: var(--f168-accent);
  color: var(--f168-accent);
  background: transparent;
}

.bo-profile-btn--primary {
  border-color: var(--f168-accent);
  background: var(--f168-accent);
  color: var(--f168-bg-page);
}

.bo-profile-page .theme-box-shadow {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.bo-profile-card__avatar-edit img {
  filter: brightness(0) invert(1);
}

.bo-profile-btn--default {
  background: var(--f168-bg-page);
}

.bo-profile-btn--primary:hover,
.bo-profile-btn--default:hover {
  opacity: 0.9;
}

.bo-profile-actions {
  background: color-mix(in srgb, var(--f168-bg-page) 96%, transparent);
  backdrop-filter: blur(6px);
}


/* =============================================================================
   BO user/coupon — F168 light theme, shell 480px
   Layout clone 789k.ing; nền trắng + chữ tối
   ============================================================================= */

.bo-coupon-page {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--f168-shell-width, 480px);
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  background: var(--f168-bg-page);
  color: var(--f168-text-muted);
}

.bo-coupon-page *,
.bo-coupon-page *::before,
.bo-coupon-page *::after {
  box-sizing: border-box;
}

.bo-coupon-page ._base-layout_1ha3p_45 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bo-coupon-page .lobby-base-header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 51px;
  background: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
  padding: 0.8rem 1rem;
  flex: 0 0 auto;
}

.bo-coupon-page .lobby-base-header__section {
  display: flex;
  align-items: center;
}

.bo-coupon-page .lobby-base-header__section--left {
  min-width: 2.75rem;
}

.bo-coupon-page .lobby-base-header__section--center {
  flex: 1;
  min-width: 0;
  justify-content: center;
  color: var(--f168-text-dark);
  text-align: center;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
}

.bo-coupon-page .lobby-base-header__section--right {
  min-width: 2.5rem;
}

.bo-coupon-page .lobby-base-header__back {
  width: 2.75rem;
  height: 100%;
  margin-left: -0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--f168-text-muted);
  text-decoration: none;
}

.bo-coupon-page .lobby-base-header__back .ui-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.05rem;
  transition: transform 0.3s linear;
}

.bo-coupon-page .lobby-base-header__back .ui-arrow svg {
  display: block;
}

.bo-coupon-page ._section-content_1ha3p_69 {
  flex: 1 1 auto;
  min-height: 0;
}

.bo-coupon-page ._coupon_oia7v_45 {
  height: calc(100vh - 51px);
  display: flex;
  flex-direction: column;
}

.bo-coupon-page ._tabs_oia7v_58 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bo-coupon-page ._tabs_oia7v_58 .ui-tabs__wrap {
  background-color: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
  flex: 0 0 auto;
}

.bo-coupon-page .bo-coupon-page__tabs-nav {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  max-height: 40px;
  padding: 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bo-coupon-page .bo-coupon-page__tabs-nav::-webkit-scrollbar {
  display: none;
}

.bo-coupon-page ._tabs_oia7v_58 .ui-tab {
  position: relative;
  z-index: 1;
  flex: none;
  margin: 0 10px;
  padding: 0;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--f168-text-dark);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.bo-coupon-page ._tabs_oia7v_58 .ui-tab:not(.ui-tab--active) {
  color: var(--f168-text-muted);
}

.bo-coupon-page ._tabs_oia7v_58 .ui-tab.ui-tab--active {
  color: var(--f168-accent);
}

.bo-coupon-page ._tabs_oia7v_58 .ui-tabs__line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 2px;
  border-radius: 999px;
  background: var(--f168-accent);
  transform: translateX(52px) translateX(-50%);
  transition: transform 0.3s ease, width 0.3s ease;
}

.bo-coupon-page ._tabs_oia7v_58 .ui-tabs__content {
  flex: 1 1 auto;
  min-height: 0;
}

.bo-coupon-page .bo-coupon-page__swipe {
  height: 100%;
  overflow: hidden;
}

.bo-coupon-page .bo-coupon-page__swipe-track {
  display: flex;
  height: 100%;
  transition-property: transform;
  transition-timing-function: ease;
  transition-duration: 300ms;
}

.bo-coupon-page .ui-tab__panel-wrapper {
  flex: 0 0 auto;
  height: 100%;
}

.bo-coupon-page .ui-tab__panel {
  height: 100%;
}

.bo-coupon-page ._list_j04ff_45 {
  width: 100%;
  height: 100%;
}

.bo-coupon-page .ui-list.ui-list__center {
  min-height: calc(100vh - 142px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.bo-coupon-page .ui-empty.ui-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bo-coupon-page .ui-empty__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bo-coupon-page .ui-empty__image--normal {
  display: block;
  width: clamp(118px, 32vw, 148px);
  height: auto;
  object-fit: contain;
}

.bo-coupon-page .ui-empty__text--normal {
  margin-top: 12px;
  color: var(--f168-text-muted);
  line-height: 1.35;
  max-width: 240px;
}

.bo-coupon-page ._empty-text_l4shk_45 {
  font-size: 14px;
}

.bo-coupon-page ._empty-text_l4shk_45 ._more_l4shk_48 {
  color: var(--f168-accent);
}

/* =============================================================================
   BO user/security/phone — F168 light theme, shell 480px
   ============================================================================= */

.bo-phone-bind-page .bo-search-page__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0.8rem 1rem;
  background: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
}

.bo-phone-bind-page .bo-search-page__header h3.bo-search-page__title {
  color: var(--f168-text-dark);
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  margin: 0;
  line-height: 1.2 !important;
}

.bo-phone-bind-page .bo-search-page__back {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--f168-text-muted);
  font-size: 1.25rem;
  display: inline-flex;
  text-decoration: none;
}

.bo-phone-bind-page {
  width: 100%;
  max-width: var(--f168-shell-width, 480px);
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  box-sizing: border-box;
  padding-bottom: 88px;
  background: var(--f168-bg-page);
}

.bo-phone-bind-page .bo-search-page__header {
  border-bottom: 1px solid var(--f168-border);
}

.bo-phone-bind-page__content {
  padding: clamp(12px, 3.4vw, 14px) clamp(14px, 3.8vw, 16px);
}

.bo-phone-bind-page__label {
  margin: clamp(12px, 3.6vw, 16px) 0 clamp(8px, 2.6vw, 10px);
  font-size: 14px;
  color: var(--f168-text-dark) !important;
}

.bo-phone-bind-field {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.2vw, 10px);
  padding: clamp(10px, 2.9vw, 12px) clamp(12px, 3.2vw, 14px);
  border-radius: clamp(10px, 2.9vw, 12px);
  border: 1px solid hsl(var(--main));
  background: var(--f168-bg-page);
  overflow: visible;
}

.bo-phone-bind-field__prefix {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.8vw, 8px);
  flex-shrink: 0;
  padding-left: clamp(4px, 1.2vw, 6px);
  margin-left: 0;
  color: var(--f168-text-muted);
}

.bo-phone-bind-flag-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(28px, 7.5vw, 32px);
  min-width: clamp(28px, 7.5vw, 32px);
  height: clamp(20px, 5.5vw, 22px);
  overflow: visible;
}

.bo-phone-bind-flag {
  display: block;
  width: clamp(26px, 7vw, 30px);
  height: auto;
  max-height: clamp(17px, 4.9vw, 21px);
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

.bo-phone-bind-dial {
  font-size: clamp(13px, 3.4vw, 14px);
  font-weight: 600;
}

.bo-phone-bind-divider {
  width: 1px;
  height: clamp(20px, 5.8vw, 22px);
  background: var(--f168-border);
  flex-shrink: 0;
}

.bo-phone-bind-field__wrap {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.bo-phone-bind-input {
  box-sizing: border-box;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: clamp(14px, 3.5vw, 15px);
  color: var(--f168-text-dark);
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
  padding-inline-start: clamp(4px, 1.2vw, 6px);
}

.bo-phone-bind-input::placeholder {
  color: var(--f168-text-muted);
  text-align: left;
  opacity: 1;
}

.bo-phone-bind-footer-spacer {
  flex: 1 1 auto;
  min-height: clamp(140px, 36vw, 180px);
}

.bo-phone-bind-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--f168-shell-width, 480px));
  padding: 10px clamp(12px, 3.6vw, 14px) max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--f168-bg-page) 94%, transparent) 82%,
    transparent
  );
  z-index: 30;
}

.bo-phone-bind-submit {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: clamp(42px, 11vw, 46px);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: clamp(14px, 3.55vw, 15px);
  color: var(--f168-bg-page);
  cursor: pointer;
  background: hsl(var(--main));
}
.bo-phone-verify__hint {
  font-size: clamp(13px, 3.4vw, 14px);
  line-height: 1.35;
  color: var(--f168-text-muted);
  margin-bottom: clamp(14px, 4vw, 18px);
}

.bo-phone-verify-form .cmn-btn {
  width: 100%;
  min-height: clamp(42px, 11vw, 46px);
  border-radius: clamp(22px, 6.2vw, 24px);
  border: none;
  font-weight: 700;
  font-size: clamp(14px, 3.55vw, 15px);
  color: var(--f168-bg-page);
  background: hsl(var(--main));
}

.bo-phone-verify-form .verification-code-wrapper label {
  color: var(--f168-text-dark);
}

.bo-phone-verify-footer {
  margin-top: clamp(16px, 4.5vw, 20px);
}

.bo-phone-verify-resend {
  text-align: center;
  margin-top: 10px;
  color: var(--f168-text-muted);
}

.bo-phone-verify-resend a {
  color: hsl(var(--main));
}

/* =============================================================================
   BO user/notice — F168 light theme, shell 480px
   ============================================================================= */

.bo-user-notice-page {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--f168-shell-width, 480px);
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  background: var(--f168-bg-page);
  color: var(--f168-text-muted);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, Roboto,
    'PingFang SC', miui, 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}

.bo-user-notice-page *,
.bo-user-notice-page *::before,
.bo-user-notice-page *::after {
  box-sizing: border-box;
}

.bo-user-notice-page .bo-search-page__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0.8rem 1rem;
  background: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
  flex: 0 0 auto;
}

.bo-user-notice-page .bo-search-page__header h3.bo-search-page__title {
  color: var(--f168-text-dark);
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  margin: 0;
  line-height: 1.2 !important;
}

.bo-user-notice-page .bo-search-page__back {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--f168-text-muted);
  font-size: 1.25rem;
  display: inline-flex;
  text-decoration: none;
}

.bo-user-notice-page ._base-layout_1ha3p_45 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bo-user-notice-page ._section-content_1ha3p_69 {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.bo-user-notice-page .global-views-notice._main_iuxq6_45 {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.bo-user-notice-page .global-notice-tabs {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.bo-user-notice-page .global-notice-tabs > .ui-tabs__wrap {
  background-color: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
  flex: 0 0 auto;
}

.bo-user-notice-page .bo-user-notice-page__tabs-nav {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  max-height: 40px;
  padding: 0 6px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bo-user-notice-page .bo-user-notice-page__tabs-nav::-webkit-scrollbar {
  display: none;
}

.bo-user-notice-page .global-notice-tabs a.ui-tab.tab-item {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.bo-user-notice-page .global-notice-tabs a.ui-tab.tab-item,
.bo-user-notice-page .global-notice-tabs a.ui-tab.tab-item:visited {
  color: var(--f168-text-muted);
}

.bo-user-notice-page .global-notice-tabs a.ui-tab.tab-item.ui-tab--active,
.bo-user-notice-page .global-notice-tabs a.ui-tab.tab-item.ui-tab--active:visited {
  color: hsl(var(--main));
}

.bo-user-notice-page .global-notice-tabs .ui-tab.tab-item {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  min-width: max-content;
  margin: 0 8px;
  padding: 0 4px 2px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--f168-text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.bo-user-notice-page .global-notice-tabs .ui-tab.ui-tab--active {
  color: hsl(var(--main));
}

.bo-user-notice-page .global-notice-tabs .ui-tabs__line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: hsl(var(--main));
  transition: transform 0.3s ease, width 0.3s ease;
}

.bo-user-notice-page .global-notice-tabs .ui-badge__wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font: inherit;
}

.bo-user-notice-page .global-notice-tabs > .ui-tabs__content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.bo-user-notice-page .bo-user-notice-page__panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.bo-user-notice-page .bo-user-notice-page__panel-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.bo-user-notice-page .bo-user-notice-page__panel-scroll:has(.bo-notice-help-center) {
  padding: 0 10px 12px;
}

.bo-user-notice-page .bo-user-notice-page__panel-placeholder {
  flex: 1 1 auto;
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  color: var(--f168-text-muted);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.bo-user-notice-page .bo-notice-help-center._radius-box_1mzhz_52,
.bo-user-notice-page .bo-notice-help-center ._radius-box_1mzhz_52 {
  background-color: var(--f168-bg-surface);
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.bo-user-notice-page .bo-notice-help-center ._normal-question-and-hot-question_1wmc0_45 {
  margin: 13px 0;
  padding: 13px;
}

.bo-user-notice-page .bo-notice-help-center ._search-box_1wmc0_75 {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  justify-content: space-between;
  gap: 8px;
}

.bo-user-notice-page .bo-notice-help-center ._help-title_1wmc0_81 {
  flex: 0 0 auto;
  width: clamp(120px, 36vw, 156px);
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 600;
  color: var(--f168-text-dark);
  line-height: 1.2;
}

.bo-user-notice-page .bo-notice-help-center ._search-bar_1wmc0_87 {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 273px;
  height: 39px;
  padding: 0 13px;
  align-items: center;
  border-radius: 19px;
  display: flex;
  border: 1px solid var(--f168-border);
  background: var(--f168-bg-page);
  justify-content: space-between;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.bo-user-notice-page .bo-notice-help-center ._search-info_1wmc0_99 {
  color: var(--f168-text-muted);
  font-size: 12px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bo-user-notice-page .bo-notice-help-center ._search-icon_1wmc0_107 {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--main));
  font-size: 18px;
}

.bo-user-notice-page .bo-notice-help-center ._search-icon_1wmc0_107 svg {
  display: block;
  width: 1em;
  height: 1em;
}

.bo-user-notice-page .bo-notice-help-center__tabs .ui-tabs__wrap {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.bo-user-notice-page .bo-notice-help-center__tabs-nav {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 36px;
  padding: 0 0 2px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: none;
}

.bo-user-notice-page .bo-notice-help-center__tabs-nav::-webkit-scrollbar {
  display: none;
}

.bo-user-notice-page .bo-notice-help-center__tabs-nav .ui-tabs__line {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

.bo-user-notice-page .bo-notice-help-center ._tab-title_1wmc0_49 {
  flex: 0 0 auto;
  margin-right: 10px;
  padding: 0;
  color: var(--f168-text-dark);
}

.bo-user-notice-page .bo-notice-help-center ._tab-title_1wmc0_49:last-of-type {
  margin-right: 0;
}

.bo-user-notice-page .bo-notice-help-center ._tab-button_1wmc0_54 {
  min-width: 91px;
  height: 36px;
  font-size: clamp(12px, 3.2vw, 15px);
  font-weight: 500;
  padding: 0 10px;
  width: auto;
  border-radius: 999px;
  border: 1px solid hsl(var(--main));
  background: hsl(var(--main));
  color: var(--f168-bg-page);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.bo-user-notice-page .bo-notice-help-center ._tab-button_1wmc0_54.ui-button--plain {
  background: transparent;
  border-color: var(--f168-border);
  color: var(--f168-text-muted);
}

.bo-user-notice-page .bo-notice-help-center .ui-tab--active ._tab-button_1wmc0_54:not(.ui-button--plain) {
  background: hsl(var(--main));
  border-color: hsl(var(--main));
  color: var(--f168-bg-page);
}

.bo-user-notice-page .bo-notice-help-center ._tab-button_1wmc0_54 .ui-button__content,
.bo-user-notice-page .bo-notice-help-center ._tab-button_1wmc0_54 .ui-button__text {
  display: inline-flex;
  align-items: center;
  line-height: 1.33;
  white-space: nowrap;
  gap: 0;
  margin-top: 3px;
}

.bo-user-notice-page .bo-notice-help-center ._icon_1wmc0_69 {
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  color: inherit;
}

.bo-user-notice-page .bo-notice-help-center ._icon_1wmc0_69._normal_1wmc0_45 {
  color: var(--f168-text-muted);
}

.bo-user-notice-page .bo-notice-help-center ._icon_1wmc0_69 img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  display: block;
  opacity: 0.85;
}

.bo-user-notice-page .bo-notice-help-center ._icon_1wmc0_69 svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.bo-user-notice-page .bo-notice-help-center .ui-tab--active ._tab-button_1wmc0_54 ._icon_1wmc0_69,
.bo-user-notice-page .bo-notice-help-center .ui-tab--active ._tab-button_1wmc0_54 ._icon_1wmc0_69 svg {
  color: var(--f168-bg-page);
}

.bo-user-notice-page .bo-notice-help-center__swipe {
  overflow: hidden;
  width: 100%;
}

.bo-user-notice-page .bo-notice-help-center__swipe-track {
  display: flex;
  transition-property: transform;
  transition-timing-function: ease;
  transition-duration: 300ms;
}

.bo-user-notice-page .bo-notice-help-center .ui-tab__panel-wrapper {
  flex: 0 0 auto;
}

.bo-user-notice-page .bo-notice-help-center .ui-tab__panel {
  min-height: 120px;
}

.bo-user-notice-page .bo-notice-help-center ._sub-category_1km7a_45 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bo-user-notice-page .bo-notice-help-center ._sub-category_1km7a_45 li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--f168-border);
  cursor: pointer;
  color: var(--f168-text-dark);
}

.bo-user-notice-page .bo-notice-help-center ._sub-category_1km7a_45 li:last-child {
  border-bottom: none;
}

.bo-user-notice-page .bo-notice-help-center ._left-box_1km7a_63 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  height: 36px;
  gap: 0;
}

.bo-user-notice-page .bo-notice-help-center ._left-box_1km7a_63 > div:first-child {
  flex: 0 0 auto;
  margin-right: 2px;
}

.bo-user-notice-page .bo-notice-help-center ._title_1km7a_69 {
  flex: 0 1 auto;
  margin-right: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 325px;
  min-width: 0;
  font-weight: 400;
}

.bo-user-notice-page .bo-notice-help-center ._hot_1km7a_48 {
  flex: 0 0 auto;
  align-self: center;
  background: var(--f168-status-error);
  color: var(--f168-bg-page);
  height: 17px;
  min-width: 17px;
  padding: 0 3px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.bo-user-notice-page .bo-notice-help-center ._enter_1km7a_95 {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--f168-text-muted);
  font-size: 14px;
  transform: rotate(180deg);
}

.bo-user-notice-page .bo-notice-help-center ._enter_1km7a_95 svg {
  display: block;
  width: 1em;
  height: 1em;
}

.bo-notice-help-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2009;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.bo-notice-help-popup-overlay.isShowFrostedGlassEffect {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.bo-notice-help-popup-overlay[data-hidden="0"] {
  opacity: 1;
  visibility: visible;
}

.bo-notice-help-popup-overlay[data-hidden="0"] .bo-notice-help-popup {
  animation: boNoticeHelpPopupSlideUp 0.3s ease;
}

@keyframes boNoticeHelpPopupSlideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.bo-notice-help-popup-open {
  overflow: hidden;
}

.bo-notice-help-popup._drag-service-popup_1dnhc_45 {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--f168-shell-width, 480px);
  max-height: min(88vh, 720px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--f168-bg-page);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  outline: none;
}

.bo-notice-help-popup ._header_1dnhc_54 {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 44px;
  border-bottom: 1px solid var(--f168-border);
}

.bo-notice-help-popup ._btn-close_1dnhc_59 {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--f168-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bo-notice-help-popup ._btn-close_1dnhc_59 svg {
  display: block;
  width: 1em;
  height: 1em;
}

.bo-notice-help-popup ._title_1dnhc_72 {
  margin: 0;
  padding: 0;
  color: var(--f168-text-dark);
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bo-notice-help-popup__scroll._scroll_1dnhc_83 {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 12px 20px;
}

.bo-notice-help-popup__answer._question-answer_1dnhc_90 {
  min-height: 120px;
  color: var(--f168-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.bo-notice-help-popup__answer img {
  max-width: 100%;
  height: auto;
}

.bo-notice-help-popup__answer a {
  color: hsl(var(--main));
}

/* CSKH popup — nội dung FAQ (strip inline BO dark → F168 light cards) */
.bo-notice-help-popup__answer--f168 {
  color: var(--f168-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__shell {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__heading {
  margin: 0 0 14px;
  padding: 0;
  text-align: center;
  color: var(--f168-text-dark);
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: none !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__heading span {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__card {
  background: var(--f168-bg-surface) !important;
  border: 1px solid var(--f168-border) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin: 0 0 12px !important;
  box-shadow: none !important;
  color: var(--f168-text-muted) !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__card:last-child {
  margin-bottom: 0 !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__card-title {
  margin: 0 0 8px;
  color: var(--f168-text-dark) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__card > div:not(.bo-notice-help-answer__card-title):not(.bo-notice-help-answer__callout) {
  font-size: 14px;
  line-height: 1.65;
  color: var(--f168-text-muted);
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__em,
.bo-notice-help-popup__answer--f168 span.bo-notice-help-answer__em {
  color: hsl(var(--main)) !important;
  font-weight: 700 !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__callout {
  margin-top: 12px !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 173, 0, 0.35) !important;
  border-left: 4px solid hsl(var(--main)) !important;
  background: rgba(255, 173, 0, 0.1) !important;
  color: var(--f168-text-dark) !important;
  font-weight: 600;
  line-height: 1.55;
  box-shadow: none !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__shell > .bo-notice-help-answer__callout {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__footer-note {
  margin: 16px 0 0 !important;
  padding: 0 8px !important;
  text-align: center !important;
  color: var(--f168-text-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.bo-notice-help-popup__answer--f168 .bo-notice-help-answer__cta-wrap {
  margin: 14px 0 4px !important;
  padding: 0 !important;
  text-align: center !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.bo-notice-help-popup__answer--f168 a.bo-notice-help-cskh-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--f168-accent-secondary) 0%, hsl(var(--main)) 100%) !important;
  color: var(--f168-bg-page) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(255, 173, 0, 0.32) !important;
  border: none !important;
  cursor: pointer;
}

.bo-notice-help-popup__answer--f168 a.bo-notice-help-cskh-link:hover,
.bo-notice-help-popup__answer--f168 a.bo-notice-help-cskh-link:focus {
  color: var(--f168-bg-page) !important;
  filter: brightness(1.04);
}

.bo-notice-help-cskh-link__icon {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}

.bo-notice-help-popup__answer--f168 a.bo-notice-help-cskh-link img {
  display: none !important;
}

.bo-notice-help-popup__answer--f168 img {
  border-radius: 8px;
}

.bo-notice-help-popup__answer--f168 strong,
.bo-notice-help-popup__answer--f168 b {
  color: var(--f168-text-dark);
  font-weight: 700;
}

.bo-notice-help-content-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px 16px;
  color: var(--f168-text-muted);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.bo-notice-help-content-placeholder p {
  margin: 0;
}

/* =============================================================================
   BO /home/search — F168 light theme, shell 480px
   ============================================================================= */

body.body:has([data-bo-game-search-page]) #main-scrollbar {
  overflow: visible;
}

body.body:has([data-bo-game-search-page]) {
  overflow-x: clip;
}

.bo-search-page {
  --search-icon-color: hsl(var(--main));
  box-sizing: border-box;
  width: 100%;
  max-width: var(--f168-shell-width, 480px);
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  background: var(--f168-bg-page);
  color: var(--f168-text-muted);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, Roboto,
    'PingFang SC', miui, 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  overflow: visible;
  position: relative;
  z-index: 0;
}

.bo-search-page__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  background: var(--f168-bg-page);
  border-bottom: 1px solid var(--f168-border);
  padding: 0.8rem 1rem;
}

.bo-search-page__header h3.bo-search-page__title {
  color: var(--f168-text-dark);
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  margin: 0;
  line-height: 1.2 !important;
}

.bo-search-page__back {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--f168-text-muted);
  font-size: 1.25rem;
  display: inline-flex;
  text-decoration: none;
}

.bo-search-page__content {
  padding: 0.85rem;
  color: var(--f168-text-muted);
  overflow: visible;
}

.bo-search-page__search-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.45rem;
  border-radius: 1.25rem;
  border: 1px solid var(--f168-border);
  background: var(--f168-bg-surface);
  padding: 0 0.9rem 0 0;
  overflow: visible;
  z-index: 1;
}

.bo-search-page__filter-wrap {
  position: relative;
  flex: 0 0 auto;
  min-width: 6.3rem;
  overflow: visible;
  z-index: 2;
}

.bo-search-page__filter-wrap.is-open {
  z-index: 40;
}

.bo-search-page__filter-btn {
  height: 2.35rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.03rem;
  text-align: left;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bo-search-page__filter-btn .caret {
  font-size: 0.9rem;
  color: var(--f168-text-muted);
  transition: transform 0.2s ease;
}

.bo-search-page__filter-wrap.is-open .bo-search-page__filter-btn .caret {
  transform: rotate(180deg);
}

.bo-search-page__dropdown {
  position: absolute;
  top: calc(100% + 0.06rem);
  left: 0;
  width: 160px;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  border-radius: 0 0 0.72rem 0.72rem;
  background: var(--f168-bg-page);
  border: 1px solid var(--f168-border);
  border-top: 0;
  display: none;
  z-index: 41;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.bo-search-page__filter-wrap.is-open .bo-search-page__dropdown {
  display: block;
}

.bo-search-page__dropdown li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bo-search-page__dropdown button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  font-size: 1.05rem;
  padding: 0.62rem 0.92rem;
}

.bo-search-page__dropdown button.is-active {
  color: hsl(var(--main));
}

.bo-search-page__divider {
  width: 1px;
  align-self: stretch;
  margin: 0.5rem 0;
  background: var(--f168-border);
}

.bo-search-page__input-wrap {
  position: relative;
  flex: 1 1 auto;
}

.bo-search-page__input {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.06rem;
  line-height: 1.3;
  padding: 0.6rem 0.7rem;
  outline: none;
}

.bo-search-page__input:not(:placeholder-shown) {
  color: var(--f168-text-dark);
}

.bo-search-page__input::placeholder {
  color: var(--f168-text-muted);
}

.bo-search-page__search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--search-icon-color);
  font-size: 1.35rem;
  padding: 0 0 0 0.3rem;
  line-height: 1;
  cursor: pointer;
}

.bo-search-page__search-submit .ui-input__suffix-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.bo-search-page__search-submit .ui-input__suffix-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  color: var(--f168-text-muted);
}

.bo-search-page__empty-wrap {
  min-height: calc(100vh - 12rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.bo-search-page__search-result-area {
  margin-top: 0.9rem;
}

.bo-search-page__search-result-area ._layout-headline_3asv0_45 {
  margin-bottom: 0.55rem;
}

.bo-search-page__search-result-area ._title_1rjzc_45 {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--f168-text-dark);
}

.bo-search-page__search-result-area ._search-icon-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: var(--f168-text-muted);
}

.bo-search-page__search-result-area ._title-text_1rjzc_51 {
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 700;
}

.bo-search-page__game-grid {
  --list-ordinary-width: 2.26rem;
  --list-ordinary-height: 1.42rem;
  --list-ordinary-left-right-spacing: 0.2rem;
  --list-ordinary-top-bot-spacing: 0.2rem;
  --list-ordinary-left-right-spacing-adapt: 0.01rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.bo-search-page__game-card {
  cursor: pointer;
  min-width: 0;
}

.bo-search-page__game-poster {
  width: 100%;
  aspect-ratio: 226 / 142;
  border-radius: 0.34rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--f168-border);
}

.bo-search-page__game-name {
  margin-top: 0.24rem;
  color: var(--f168-text-muted);
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bo-search-page__load-more {
  text-align: center;
  margin-top: 0.55rem;
  color: var(--f168-text-muted);
  font-size: 0.82rem;
}

.bo-search-page__load-more[hidden] {
  display: none !important;
}

.bo-search-page__load-more ._trigger-text_jm7c7_52 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: hsl(var(--main));
  font-weight: 600;
  font-size: inherit;
  cursor: pointer;
}

.bo-search-page__load-more ._trigger-text_jm7c7_52[hidden] {
  display: none !important;
}

.bo-search-page__load-more-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bo-search-page__empty-wrap .ui-empty.ui-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.bo-search-page__empty-wrap .ui-empty__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  max-width: 100%;
}

.bo-search-page__empty-wrap .ui-empty__image--normal {
  display: block;
  width: 120px;
  height: auto;
  max-width: min(72vw, 200px);
  max-height: min(72vw, 200px);
  object-fit: contain;
}

.bo-search-page__empty-wrap .ui-empty__text--normal {
  font-size: 15px !important;
  line-height: 1.4;
  color: var(--f168-text-muted) !important;
  margin: 0;
  text-align: center;
}

/* Cloudflare Turnstile (SHARE auth captcha) */
.f168-auth-captcha {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0 1rem;
}

.f168-auth-captcha--turnstile .cf-turnstile {
  width: 100%;
}

