/* OKVIP skin — phiếu cược / quầy vé (2026-08-17)
   Khôi phục: copy custom-section-header.css.bak đè lên file này
   hoặc chạy _install/restore_ui.bat rồi Ctrl+F5
   Accent: #FD9800 (logo OK) — không glass, không pill, không glow.
*/

:root {
  --ok: #FD9800;
  --ok-ink: #1A090C;
  --rebate-card: #263040;
  --rebate-border: rgba(255, 255, 255, 0.12);
  --rebate-accent: #2FA33F;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #2FA33F;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 255, 255, 0.78);
}
html[theme=black] {
  --rebate-card: #1c2636;
  --rebate-border: rgba(255, 255, 255, 0.12);
  --rebate-accent: #2FA33F;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #2FA33F;
  --rebate-text: #fff;
  --rebate-muted: rgba(167, 183, 215, 0.85);
}
html[theme=blue] {
  --rebate-card: #186CD5;
  --rebate-border: rgba(255, 255, 255, 0.3);
  --rebate-accent: #EAB700;
  --rebate-accent-ink: #1f2837;
  --rebate-highlight: #EAB700;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 255, 255, 0.78);
}
html[theme=whiteGreen] {
  --rebate-card: #f5f5f5;
  --rebate-border: #d8d8d8;
  --rebate-accent: #1e8c58;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #1e8c58;
  --rebate-text: #333;
  --rebate-muted: rgba(51, 51, 51, 0.72);
}
html[theme=purple] {
  --rebate-card: #5d085d;
  --rebate-border: rgba(255, 255, 255, 0.18);
  --rebate-accent: #ffdc82;
  --rebate-accent-ink: #5e095d;
  --rebate-highlight: #ffdc82;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 255, 255, 0.78);
}
html[theme=whiteRed] {
  --rebate-card: #f6f6f6;
  --rebate-border: #d8d8d8;
  --rebate-accent: #CB3034;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #CB3034;
  --rebate-text: #565656;
  --rebate-muted: rgba(86, 86, 86, 0.78);
}
html[theme=oilyGreen] {
  --rebate-card: #067831;
  --rebate-border: rgba(255, 255, 255, 0.18);
  --rebate-accent: #fee004;
  --rebate-accent-ink: #067831;
  --rebate-highlight: #fee004;
  --rebate-text: #fff;
  --rebate-muted: rgba(196, 255, 217, 0.85);
}
html[theme=versaceYellow] {
  --rebate-card: #f5b90b;
  --rebate-border: rgba(255, 255, 255, 0.2);
  --rebate-accent: #373638;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #fff;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 247, 224, 0.9);
}
html[theme=lancomePeach] {
  --rebate-card: #ee7879;
  --rebate-border: rgba(255, 255, 255, 0.2);
  --rebate-accent: #ffe2c9;
  --rebate-accent-ink: #df6061;
  --rebate-highlight: #ffe2c9;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 255, 255, 0.8);
}
html[theme=whiteYellow] {
  --rebate-card: #F6F6F6;
  --rebate-border: #D8D8D8;
  --rebate-accent: #DF9A1C;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #DF9A1C;
  --rebate-text: #565656;
  --rebate-muted: rgba(86, 86, 86, 0.78);
}
html[theme=whiteBlue] {
  --rebate-card: #F6F6F6;
  --rebate-border: #D8D8D8;
  --rebate-accent: #5378BF;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #5378BF;
  --rebate-text: #565656;
  --rebate-muted: rgba(86, 86, 86, 0.78);
}
html[theme=sk2] {
  --rebate-card: #C4242A;
  --rebate-border: rgba(255, 255, 255, 0.32);
  --rebate-accent: #f5d470;
  --rebate-accent-ink: #c4242a;
  --rebate-highlight: #f5d470;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 255, 255, 0.82);
}
html[theme=whiteOrange] {
  --rebate-card: #F9F9F9;
  --rebate-border: #E5E4E5;
  --rebate-accent: #FA9447;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #FA9447;
  --rebate-text: #363333;
  --rebate-muted: rgba(54, 51, 51, 0.72);
}
html[theme=hermesOrange] {
  --rebate-card: #F26E0A;
  --rebate-border: rgba(255, 255, 255, 0.22);
  --rebate-accent: #551f0e;
  --rebate-accent-ink: #f8f2ee;
  --rebate-highlight: #FEE7CA;
  --rebate-text: #fff;
  --rebate-muted: rgba(254, 231, 202, 0.85);
}
html[theme=lightBrown] {
  --rebate-card: #9B8977;
  --rebate-border: #B7A697;
  --rebate-accent: #fed39d;
  --rebate-accent-ink: #9b8977;
  --rebate-highlight: #FED39D;
  --rebate-text: #fff;
  --rebate-muted: rgba(231, 210, 194, 0.9);
}
html[theme=furlaBlue] {
  --rebate-card: #5375D1;
  --rebate-border: #5375D1;
  --rebate-accent: #FFFCD2;
  --rebate-accent-ink: #4969c2;
  --rebate-highlight: #FFFCD2;
  --rebate-text: #fff;
  --rebate-muted: rgba(212, 221, 254, 0.9);
}
html[theme=whitePink] {
  --rebate-card: #F9F9F9;
  --rebate-border: #E5E4E5;
  --rebate-accent: #EF7A7B;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #EF7A7B;
  --rebate-text: #565656;
  --rebate-muted: rgba(86, 86, 86, 0.78);
}
html[theme=bvGreen] {
  --rebate-card: #7B9A1E;
  --rebate-border: rgba(255, 255, 255, 0.2);
  --rebate-accent: #FFF45D;
  --rebate-accent-ink: #7b9a1e;
  --rebate-highlight: #FFF45D;
  --rebate-text: #fff;
  --rebate-muted: rgba(242, 251, 183, 0.9);
}
html[theme=whiteBrown] {
  --rebate-card: #F6F6F6;
  --rebate-border: #D8D8D8;
  --rebate-accent: #927D6A;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #927D6A;
  --rebate-text: #565656;
  --rebate-muted: rgba(86, 86, 86, 0.78);
}
html[theme=AnnaSuiPurple] {
  --rebate-card: #6B53A2;
  --rebate-border: rgba(255, 255, 255, 0.24);
  --rebate-accent: #fff;
  --rebate-accent-ink: #8870b8;
  --rebate-highlight: #fff;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 255, 255, 0.78);
}
html[theme=whitePurple] {
  --rebate-card: #F6F6F6;
  --rebate-border: #D8D8D8;
  --rebate-accent: #610862;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #610862;
  --rebate-text: #565656;
  --rebate-muted: rgba(86, 86, 86, 0.78);
}
html[theme=burgundyRed] {
  --rebate-card: #630B20;
  --rebate-border: #8F2B40;
  --rebate-accent: #FE3856;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #ffd205;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 255, 255, 0.78);
}
html[theme=whiteDarkGreen] {
  --rebate-card: #F6F6F6;
  --rebate-border: #D8D8D8;
  --rebate-accent: #054146;
  --rebate-accent-ink: #fff;
  --rebate-highlight: #054146;
  --rebate-text: #565656;
  --rebate-muted: rgba(86, 86, 86, 0.78);
}
html[theme=greenGold] {
  --rebate-card: #003E37;
  --rebate-border: #05584F;
  --rebate-accent: #FDD981;
  --rebate-accent-ink: #00352F;
  --rebate-highlight: #FDD981;
  --rebate-text: #fff;
  --rebate-muted: rgba(255, 255, 255, 0.78);
}

/* Hide header search icon */
[class*="_headerBox_search_"] {
  display: none !important;
}

/* Hide home header sider menu toggle (arrow menu icon) */
[class*="_headerBox_"] [class*="_menuIcon_"] {
  display: none !important;
}

/* Header: logo + menu slightly right; auth buttons slightly left */
[class*="_headerBox_"] [class*="_leftBox_"] {
  transform: translateX(16rem);
}

[class*="_headerBox_"] [class*="_rightBox_"] {
  margin-right: 20rem !important;
  transform: translateX(-16rem);
}

[class*="_headerBox_"] [class*="_loginBtn_"],
[class*="_headerBox_"] [class*="_registerBtn_"] {
  width: auto !important;
  min-width: 128rem;
  padding: 0 18rem !important;
  white-space: nowrap;
  font-size: 20rem !important;
}

[class*="_headerBox_"] [class*="_registerBtn_"] {
  margin-left: 8rem !important;
}

/* ===== Header ===== */
[class*="_headerBox_"] {
  border-bottom: 3px solid var(--ok);
  box-shadow: none !important;
}

[class*="_headerBox_"] [class*="_loginBtn_"] {
  background: var(--ok) !important;
  color: var(--ok-ink) !important;
  border-radius: 3px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  box-shadow: none !important;
}

[class*="_headerBox_"] [class*="_registerBtn_"] {
  background: transparent !important;
  color: var(--ok) !important;
  border: 2px solid var(--ok) !important;
  border-radius: 3px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

[class*="_headerBox_"] [class*="_despositOutBtnBox_"] {
  background: var(--ok) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

/* ===== Category strip = betting slip ===== */
[class*="_typeGameBox_"] > [class*="_logoBox_"],
[class*="_itemBox_"] > [class*="_topBarBox_"],
[class*="_typeGameBox_"] > [class*="_headBox_"] {
  box-sizing: border-box;
  position: relative;
  min-height: 72rem;
  margin-top: 18rem;
  margin-bottom: 10rem;
  padding: 12rem 16rem;
  border-radius: 2px;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 7px,
      rgba(253, 152, 0, 0.07) 7px,
      rgba(253, 152, 0, 0.07) 8px
    ),
    rgba(0, 0, 0, 0.18);
  border: 0;
  border-left: 6px solid var(--ok);
  border-bottom: 1px dashed rgba(253, 152, 0, 0.45);
  box-shadow: none;
  gap: 8rem;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
}

[class*="_itemBox_"] > [class*="_topBarBox_"] > [class*="_leftBox_"],
[class*="_typeGameBox_"] > [class*="_headBox_"] > [class*="_leftBox_"] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 auto !important;
  /* optical center: left border makes content look skewed right */
  transform: translateX(-6rem);
}
[class*="_typeGameBox_"] > [class*="_logoBox_"] {
  /* same optical nudge for venue category strips */
  padding-right: 22rem !important;
}

[class*="_typeGameBox_"] > [class*="_logoBox_"] [class*="_icon_"],
[class*="_itemBox_"] [class*="_topBarBox_"] [class*="_icon_"],
[class*="_typeGameBox_"] > [class*="_headBox_"] [class*="_icon_"] {
  width: 36rem !important;
  height: 36rem !important;
  margin-right: 8rem !important;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}
[class*="_typeGameBox_"] > [class*="_logoBox_"] svg,
[class*="_itemBox_"] [class*="_topBarBox_"] svg,
[class*="_typeGameBox_"] > [class*="_headBox_"] svg {
  width: 36rem;
  height: 36rem;
  flex: 0 0 auto;
}

[class*="_typeGameBox_"] > [class*="_logoBox_"] > span,
[class*="_itemBox_"] [class*="_topBarBox_"] [class*="_leftBox_"] > span,
[class*="_typeGameBox_"] > [class*="_headBox_"] [class*="_leftBox_"] > span {
  font-size: 26rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  margin-left: 0 !important;
  color: #fff !important;
}

[class*="_itemBox_"] > [class*="_topBarBox_"] > [class*="_rightBox_"] {
  position: absolute !important;
  right: 16rem;
  top: 50%;
  transform: translateY(-50%);
}

[class*="_typeGameBox_"] [class*="_all_"] {
  display: inline-flex !important;
  align-items: baseline;
  flex: 0 0 auto !important;
  position: absolute;
  right: 16rem;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  padding: 0 0 2rem;
  border-radius: 0;
  background: transparent !important;
  color: var(--ok) !important;
  font-size: 20rem !important;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ok);
}
[class*="_typeGameBox_"] [class*="_all_"]::after {
  content: none;
}

/* Hide "Đang hiển thị X trò chơi trong số Y..." under category tags */
[class*="_itemBox_"] [class*="_btmLoadMoreBox_"] > [class*="_tips_"],
[class*="_typeGameBox_"] [class*="_btmLoadMoreBox_"] > [class*="_tips_"] {
  display: none !important;
}

/* Pull "Tải thêm" up after hiding tips */
[class*="_itemBox_"] [class*="_btmLoadMoreBox_"],
[class*="_typeGameBox_"] [class*="_btmLoadMoreBox_"] {
  margin-top: -4rem !important;
  margin-bottom: 8rem !important;
  padding-top: 0 !important;
  gap: 0 !important;
}
[class*="_itemBox_"] [class*="_btmLoadMoreBox_"] [class*="_loadMoreBtn_"],
[class*="_typeGameBox_"] [class*="_btmLoadMoreBox_"] [class*="_loadMoreBtn_"] {
  margin-top: 0 !important;
  transform: translateY(-6rem);
}

/* ===== Game tiles ===== */
[class*="_gameItemBox_"] img,
[class*="_gameItemBox2_"] img,
[class*="game_list"] img {
  border-radius: 4px;
}


[class*="_logoBox_"]:has(img[src*="/uploads/icongamebai/"]) img[src*="/uploads/icongamebai/"],
[class*="_gameItemBox_"] img[src*="/uploads/icongamebai/"],
[class*="_gameItemBox2_"] img[src*="/uploads/icongamebai/"],
[class*="game_list"] img[src*="/uploads/icongamebai/"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  transform: none !important;
}

/* ===== Home game tabs only (#gameTabsBox) — do not touch sidebar ===== */
#gameTabsBox {
  height: 112rem;
}
#gameTabsBox > [class*="_gameTabs_"] {
  width: calc(100% - 16rem);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#gameTabsBox > [class*="_gameTabs_"]::-webkit-scrollbar {
  display: none;
}
/* Only shrink/fade scroll arrows — do not change tab layout */
#gameTabsBox > [class*="_leftArrowBox_"] > svg,
#gameTabsBox > [class*="_rightArrowBox_"] > svg,
#gameTabsBox > [class*="_leftArrowBox_"] > img,
#gameTabsBox > [class*="_rightArrowBox_"] > img {
  width: 24rem !important;
  height: 24rem !important;
  opacity: 0.72 !important;
}
#gameTabsBox > [class*="_leftArrowBox_"] svg path,
#gameTabsBox > [class*="_rightArrowBox_"] svg path {
  stroke: rgba(255, 255, 255, 0.85) !important;
  stroke-width: 1.85 !important;
}
#gameTabsBox > [class*="_leftArrowBox_"] svg rect[fill],
#gameTabsBox > [class*="_rightArrowBox_"] svg rect[fill] {
  fill-opacity: 0.7 !important;
}
#gameTabsBox [class*="_leftLine_"] {
  display: none;
}
#gameTabsBox [class*="_container_1pby2_"],
#gameTabsBox [class*="_gameTabs_"] > [class*="_container_"] {
  gap: 6rem;
  padding: 0 4rem;
  align-items: center;
}
#gameTabsBox [class*="_tabItemBox_"] {
  width: auto !important;
  min-width: 104rem;
  height: calc(100% - 12rem) !important;
  margin: 6rem 0 !important;
  padding: 6rem 12rem 8rem !important;
  justify-content: center;
  gap: 2rem;
  position: relative;
  box-sizing: border-box;
  border: 1px solid var(--rebate-border) !important;
  border-radius: 16rem !important;
  border-bottom: 1px solid var(--rebate-border) !important;
  background: transparent !important;
  box-shadow: none !important;
}
#gameTabsBox [class*="_tabItemBox_"]::after {
  display: none !important;
  content: none !important;
}
#gameTabsBox [class*="_tabItemBox_"] svg {
  width: 42rem !important;
  height: 32rem !important;
  flex: 0 0 auto;
  shape-rendering: geometricPrecision;
}
#gameTabsBox [class*="_tabItemBox_"][class*="_select_"] svg path,
#gameTabsBox [class*="_tabItemBox_"][class*="_select_"] svg circle,
#gameTabsBox [class*="_tabItemBox_"][class*="_select_"] svg polygon {
  fill: var(--rebate-highlight) !important;
}
#gameTabsBox [class*="_tabItemBox_"][class*="_select_"] svg path[stroke],
#gameTabsBox [class*="_tabItemBox_"][class*="_select_"] svg [stroke]:not([stroke="none"]) {
  stroke: var(--rebate-highlight) !important;
}
#gameTabsBox [class*="_tabItemBox_"] span {
  width: auto !important;
  max-width: none;
  margin-top: 2rem !important;
  font-size: 18rem !important;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  -webkit-line-clamp: 1;
  color: var(--rebate-muted) !important;
}
#gameTabsBox [class*="_tabItemBox_"][class*="_select_"] {
  border: 2px solid var(--rebate-accent) !important;
  border-radius: 16rem !important;
  background: color-mix(in srgb, var(--rebate-accent) 14%, transparent) !important;
}
#gameTabsBox [class*="_tabItemBox_"][class*="_select_"] span {
  font-weight: 800;
  color: var(--rebate-highlight) !important;
}
#gameTabsBox [class*="_tabItemBox_"][class*="_select_"]::after {
  display: none !important;
  content: none !important;
}

/* Fix broken ActiveEsporte (tiny PNG) → soccer ball, sized like other tab icons */
#gameTabsBox #label_Esporte[class*="_select_"] > svg {
  background: url("/yq-br-prod/web1/assets/sports-ball.png") center / 30rem 30rem no-repeat !important;
}
#gameTabsBox #label_Esporte[class*="_select_"] > svg * {
  opacity: 0 !important;
}
/* Section header "THỂ THAO" uses same ActiveEsporte */
#label_home_体育 [class*="_icon_"] > svg,
[id="label_home_体育"] [class*="_icon_"] svg {
  width: 36rem !important;
  height: 36rem !important;
  background: url("/yq-br-prod/web1/assets/sports-ball.png") center / 32rem 32rem no-repeat !important;
}
#label_home_体育 [class*="_icon_"] > svg *,
[id="label_home_体育"] [class*="_icon_"] svg * {
  opacity: 0 !important;
}

/* ===== Bottom dock / inner page tabs ===== */
[class*="_tabItemContainer_"] {
  border-top: 2px solid var(--ok);
}
[class*="_tabItemContainer_"] [class*="_tabItem_"][class*="_active_"] > [class*="_text_"] {
  color: var(--ok) !important;
}
[class*="_tabItemContainer_"] [class*="_tabItem_"][class*="_active_"]::after {
  background-color: var(--ok) !important;
}

/* ===== Primary buttons ===== */
[class*="_buttonComponent_"][class*="_type-primary_"] {
  background: var(--ok) !important;
  color: var(--ok-ink) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* ===== Search ===== */
[class*="_search_input_"] [class*="_inBox_"] {
  border-radius: 3px !important;
  border: 1px solid rgba(253, 152, 0, 0.45) !important;
  background: rgba(0, 0, 0, 0.25) !important;
}
input {
  caret-color: var(--ok);
}

/* ===== Notice / marquee ===== */
[class*="_noticeBox_"],
[class*="_notice_"],
[class*="_marquee_"] {
  border-left: 4px solid var(--ok);
  border-radius: 0;
}

/* ===== Dialogs / sheets ===== */
[class*="_dialog_"],
[class*="_popup_"],
[class*="_sheet_"] {
  border-radius: 6px;
}

/* ===== Deposit ===== */
[class*="_depositHeader_"] [class*="_depositTitle_"] {
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 800;
}
[class*="_deposit_tab_"] {
  border-bottom: 2px solid var(--ok);
}

/* ===== Login / register sheet ===== */
[class*="_loginBox_"] {
  border-radius: 6px !important;
  box-shadow: none !important;
  border-top: 3px solid var(--ok);
}
[class*="_loginBox_"] [class*="_clsoeBtn_"],
[class*="_loginBox_"] [class*="_closeBtn_"] {
  border-radius: 2px;
}
[class*="_inputContainer_"] {
  border-radius: 3px !important;
}

/* Hide leftover support/spacer cells; keep login/register switch centered */
[class*="_loginBox_"] [class*="_btmTextBox_"] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100%;
}
[class*="_loginBox_"] [class*="_btmTextBox_"] > div:empty,
[class*="_loginBox_"] [class*="_btmTextBox_"] > div:first-child:not(:last-child) {
  display: none !important;
}
[class*="_loginBox_"] [class*="_btmTextBox_"] > div:last-child {
  display: block !important;
  width: auto !important;
  margin: 0 auto !important;
  text-align: center !important;
  flex: none !important;
}

/* /back-rate: one rebate table from total bet, no per-game left nav */
[class*="_listContainer_1rn4l_"] > [class*="_left_nav_"],
[class*="_listContainer_10gsp_"] > [class*="_left_nav_"] {
  display: none !important;
}
[class*="_listContainer_1rn4l_"] [class*="_rightContainer_"],
[class*="_listContainer_10gsp_"] [class*="_rightContainer_"] {
  width: 100% !important;
  margin: 0 !important;
}

/* /back-rate: fill remaining space so all 9 levels can scroll */
[class*="_container_1rn4l_"],
[class*="_container_10gsp_"] {
  display: flex;
  flex-direction: column;
}
[class*="_listContainer_1rn4l_"],
[class*="_listContainer_10gsp_"] {
  flex: 1;
  height: auto !important;
  min-height: 0;
  padding: 0 24rem !important;
}

/* Match VIP page button + spacing */
.rebate-top-panel {
  padding: 24rem 24rem 16rem;
  display: flex;
  flex-direction: column;
  gap: 16rem;
  flex-shrink: 0;
}
.rebate-summary-card {
  width: 100%;
  text-align: center;
  padding: 24rem 20rem 22rem;
  border-radius: 12rem;
  overflow: hidden;
  background: var(--rebate-card);
  border: 1rem solid var(--rebate-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8rem;
}
.rebate-summary-label {
  font-size: 24rem;
  color: var(--rebate-text);
  line-height: 1.3;
}
.rebate-summary-amount {
  font-size: 44rem;
  font-weight: 700;
  color: var(--rebate-highlight);
  line-height: 1.2;
}
.rebate-summary-status {
  font-size: 22rem;
  color: var(--rebate-text);
  line-height: 1.3;
}
.rebate-summary-help {
  font-size: 20rem;
  color: var(--rebate-muted);
  line-height: 1.45;
  max-width: 92%;
}
.rebate-claim-btn {
  font-weight: 500;
  height: 70rem;
  line-height: 70rem;
  width: 100%;
  border: 0;
  text-align: center;
  font-size: 24rem;
  border-radius: var(--button-radius, 10rem) !important;
  background-color: var(--rebate-accent) !important;
  color: var(--rebate-accent-ink) !important;
  box-shadow: none;
  padding: 0;
}
.rebate-claim-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Match VIP list: 3 columns, 90rem rows */
.rebate-list {
  width: 100%;
}
.rebate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 100%;
}
.rebate-row + .rebate-row {
  margin-top: 0;
  border-radius: 6rem;
  background-color: color-mix(in srgb, var(--rebate-card) 86%, var(--rebate-accent));
  border: none;
  overflow: hidden;
}
.rebate-row:nth-of-type(odd) {
  background-color: var(--rebate-card);
}
.rebate-row:nth-of-type(even) {
  background-color: color-mix(in srgb, var(--rebate-card) 86%, var(--rebate-accent));
  border: 1rem solid var(--rebate-border);
}
.rebate-row.rebate-row-head,
.rebate-row:first-of-type {
  border-radius: 6rem;
  border: 1rem solid var(--rebate-border);
  background-color: color-mix(in srgb, var(--rebate-card) 86%, var(--rebate-accent));
  overflow: hidden;
}
.rebate-row-head .rebate-col {
  background-color: transparent;
  color: var(--rebate-text) !important;
  font-size: 24rem;
  font-weight: 500;
}
.rebate-col {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90rem;
  color: var(--rebate-highlight);
  font-size: 24rem;
}
.rebate-col:nth-of-type(even) {
  color: var(--rebate-text);
}
.rebate-row.is-current {
  outline: 1rem solid var(--rebate-accent);
}
.rebate-row.is-current .rebate-col {
  color: var(--rebate-highlight);
}

/* HeadTabs (VIP / Hoàn trả): center the tab row */
[class*="_HeadTabs_scroll_"] [class*="_HeadTabs_container_"] {
  width: 100%;
  justify-content: center;
}

/* /withdraw: center balance chip in the withdraw header only.
   App CSS loads after this file, so original margin-left: 24rem needs !important. */
._header_1b3da_55,
._header_m4aos_55 {
  justify-content: center !important;
}
._header_1b3da_55 ._coin_1b3da_230,
._header_m4aos_55 ._coin_m4aos_190 {
  margin-left: 0 !important;
}

/* /message: center Liên hệ / Tin nhắn; keep back arrow on the left.
   Scoped to message hashes only so home header 16rem shift stays intact. */
._headerBox_14cge_55,
._headerBox_yc93y_55 {
  position: relative !important;
}
._headerBox_14cge_55 ._leftBox_14cge_199,
._headerBox_yc93y_55 ._leftBox_yc93y_144 {
  width: 100% !important;
  justify-content: center !important;
  transform: none !important;
}
._headerBox_14cge_55 ._backArrowBox_14cge_205,
._headerBox_yc93y_55 ._backArrowBox_yc93y_150 {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 2;
}
._headerBox_14cge_55 ._tabsBox_14cge_278,
._headerBox_yc93y_55 ._tabsBox_yc93y_220 {
  margin: 0 !important;
}

/* /personal-information: center avatar + Thiết lập */
[class*="_infoContent_"] [class*="_headerInfo_"] {
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
  height: auto !important;
  gap: 12rem;
}
[class*="_infoContent_"] [class*="_headerInfo_"] [class*="_img_"] {
  margin: 0 auto;
  border-radius: 50% !important;
  overflow: hidden;
}
[class*="_infoContent_"] [class*="_headerInfo_"] [class*="_img_"] img {
  border-radius: 50% !important;
}
[class*="_infoContent_"] [class*="_headerInfo_"] > p {
  margin-left: 0 !important;
  text-align: center;
}

/* Favorite: nút like góc TRÁI (che badge trong ảnh), bấm được favorites */
[class*="_logoBox_"] {
  isolation: isolate;
}
[class*="_logoBox_"] > img {
  position: relative;
  z-index: 1;
}
[class*="game_list_item_hots"] {
  background-image: none !important;
  background: transparent !important;
  width: 56rem !important;
  height: 44rem !important;
  top: 2rem !important;
  left: 2rem !important;
  right: auto !important;
  z-index: 30 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
[class*="game_list_item_hots"] > img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  pointer-events: none !important;
}

/* Ẩn badge recommend.webp trên card game */
[class*="game_recommend"],
img[src*="/home/icons/recommend.webp"],
img[src*="recommend.webp"] {
  display: none !important;
}

/* Ẩn tag Gần đây (Recente / 最近) */
#label_Recente,
#gameTabsBox [id="label_Recente"] {
  display: none !important;
}

/* Yêu thích: ẩn tìm kiếm + chữ Tất cả */
[class*="_typeGameBox_ago9m_"] > [class*="_search_input_"],
[class*="_typeGameBox_im7sw_"] > [class*="_search_input_"] {
  display: none !important;
}
[class*="_typeGameBox_"] > [class*="_headBox_"] > [class*="_rightBox_"] {
  display: none !important;
}
