/* Customer shop palette. Scoped selectors beat legacy page-level styles. */
:root {
  --rose-bg: #fff8fb;
  --rose-surface: #ffffff;
  --rose-soft: #fff0f5;
  --rose-border: #dfb2c7;
  --rose-outline: #bc6b90;
  --rose-primary: #c73778;
  --rose-hover: #ad2864;
  --rose-ink: #3d2834;
  --rose-muted: #795b6a;
  --rose-shadow: 0 8px 24px rgba(117, 39, 76, .08);
  --fcm-bg-deep: var(--rose-bg);
  --fcm-bg-navy: #fffafd;
  --fcm-bg-pitch: var(--rose-soft);
  --fcm-surface: var(--rose-surface);
  --fcm-surface-alt: var(--rose-soft);
  --fcm-border: var(--rose-border);
  --fcm-border-soft: #efd0df;
  --fcm-gold: var(--rose-primary);
  --fcm-gold-deep: var(--rose-hover);
  --fcm-gold-text: #fff;
  --fcm-green: #9e5275;
  --fcm-green-deep: #81425e;
  --fcm-blue: #72517f;
  --fcm-text: var(--rose-ink);
  --fcm-text-muted: var(--rose-muted);
  --fcm-danger: #b9344e;
}

body.theme-rose {
  color: var(--rose-ink) !important;
  background: radial-gradient(ellipse at 100% 0%, #ffeaf3, transparent 55%), var(--rose-bg) !important;
  font-family: "Be Vietnam Pro", sans-serif;
  color-scheme: light;
}
body.theme-rose ::selection { background: #f3cadb; color: var(--rose-ink); }
body.theme-rose :is(h1, h2, h3, h4, h5, h6) { color: var(--rose-ink); }
body.theme-rose a { color: var(--rose-primary); }
body.theme-rose :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #bb6a8b; outline-offset: 3px; }
body.theme-rose > div[style*="background:#17372c"] { background: var(--rose-soft) !important; color: var(--rose-muted) !important; border-bottom: 1px solid var(--rose-border); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--rose-bg); }
::-webkit-scrollbar-thumb { background: #d9a3ba; border-radius: 10px; }

/* Navigation */
body.theme-rose :is(.header-default, .header-default.clone) {
  background: #fff !important; border-bottom: 1px solid var(--rose-outline) !important;
  box-shadow: 0 4px 16px rgba(42,31,38,.06) !important;
}
body.theme-rose .header-topbar { background: var(--rose-soft) !important; border-bottom-color: var(--rose-border) !important; }
body.theme-rose :is(.topbar-trust li, .header-topbar .social-icons a) { color: var(--rose-muted) !important; }
body.theme-rose .topbar-trust li i { color: var(--rose-primary) !important; }
body.theme-rose .header-topbar .social-icons a { border-color: var(--rose-border) !important; }
body.theme-rose .navbar { background: transparent !important; }
body.theme-rose .navbar-nav { text-transform: none; letter-spacing: 0; }
body.theme-rose .navbar-nav .nav-link { color: var(--rose-muted) !important; background: transparent !important; }
body.theme-rose .navbar-nav :is(.nav-link:hover, .nav-item.active .nav-link) { color: var(--rose-primary) !important; }
body.theme-rose .navbar-nav .nav-link:hover { background: var(--rose-soft) !important; }
body.theme-rose .navbar-nav :is(.nav-item.active .nav-link, .nav-link.active) {
  background: linear-gradient(120deg, #f9d1e3, #ffe8f2) !important;
  color: #9f245b !important;
  box-shadow: inset 0 0 0 1px #d992b2;
}
body.theme-rose .navbar-nav .nav-item.active .nav-link::after { background: var(--rose-primary) !important; }
body.theme-rose :is(.dropdown-menu, .canvas-menu, .search-popup) {
  background: #fff !important; color: var(--rose-ink) !important; border-color: var(--rose-outline) !important;
  box-shadow: var(--rose-shadow) !important;
}
body.theme-rose .dropdown-menu { border-radius: 16px; }
body.theme-rose .dropdown-menu::after { border-bottom-color: #fff !important; }
body.theme-rose .dropdown-menu li::after { background: linear-gradient(90deg, var(--rose-border), transparent) !important; }
body.theme-rose :is(.dropdown-item, .canvas-menu .vertical-menu li a) { color: var(--rose-ink) !important; }
body.theme-rose :is(.dropdown-item:hover, .dropdown-item:focus, .dropdown-balance) { background: var(--rose-soft) !important; color: var(--rose-primary) !important; }
body.theme-rose :is(.dropdown-balance b, .canvas-menu .vertical-menu li.active a) { color: var(--rose-primary) !important; }
body.theme-rose :is(.burger-icon, .burger-icon::before, .burger-icon::after) { background: #fff !important; }
body.theme-rose .mobile-bottom-nav { background: #fff !important; border-top-color: var(--rose-outline) !important; box-shadow: 0 -4px 16px rgba(42,31,38,.08) !important; }
body.theme-rose .mbn-item { color: var(--rose-muted) !important; }
body.theme-rose .mbn-item.active { color: var(--rose-primary) !important; background: #fff3f8; }
body.theme-rose .mbn-item.active i { filter: none !important; }

/* Preserve the square badge artwork and present it as a round shop mark. */
body.theme-rose :is(.navbar-brand .logo-shop, .footer-logo, .canvas-menu .logo img) {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 50% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  filter: none !important;
  box-shadow: none !important;
}
body.theme-rose .navbar-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
body.theme-rose .navbar-brand .logo-shop { width: 72px !important; height: 72px !important; }
body.theme-rose .navbar-brand-label {
  margin-left: 10px;
  color: #bd2e78;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1.15;
  white-space: nowrap;
  text-shadow: 0 1px #fff, 0 2px 8px rgba(189,46,120,.16);
}
body.theme-rose .footer-logo { width: 112px !important; height: 112px !important; }
body.theme-rose .canvas-menu .logo img { width: 96px !important; height: 96px !important; }
@media (max-width: 991px) {
  body.theme-rose .navbar-brand .logo-shop { width: 64px !important; height: 64px !important; }
  body.theme-rose .navbar-brand-label { max-width: 124px; font-size: 11px; white-space: normal; }
  body.theme-rose .footer-logo { margin-left: auto; margin-right: auto; }
  body.theme-rose .header-default .navbar > .container-xl { flex-wrap: nowrap; gap: 8px; }
  body.theme-rose .header-right { min-width: 0; max-width: calc(100% - 206px); margin-left: auto; }
  body.theme-rose .header-right .header-buttons { display: flex; align-items: center; gap: 8px; margin-left: 0; max-width: 100%; }
  body.theme-rose .header-right .header-buttons button { margin-left: 0; }
  body.theme-rose .header-right .btn-button { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.theme-rose .header-right .burger-menu { flex: 0 0 40px; }
}
@media (max-width: 360px) {
  body.theme-rose .navbar-brand .logo-shop { width: 60px !important; height: 60px !important; }
  body.theme-rose .navbar-brand-label { display: none; }
  body.theme-rose .header-right { max-width: calc(100% - 72px); }
  body.theme-rose .header-right .btn-button { padding-left: 12px; padding-right: 12px; }
}

/* Home banner keeps every word in the supplied artwork visible. */
body.theme-rose .shop-home-banner {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e9c6d7;
  border-radius: 18px;
  background: var(--rose-soft);
  box-shadow: 0 6px 18px rgba(42,31,38,.06);
}
body.theme-rose .shop-home-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
body.theme-rose .shop-home-banner + .row { margin-top: 24px; }

/* White surfaces let the pink accents carry the hierarchy. */
body.theme-rose :is(.widget, .gc-card, .wd-card, .rc-card, .lst-card, .hlp-card, .dk-card,
  .tui-mu-card, .code-fc-item, .trust-item, .tuimu-box, .tuimu-box-fv) {
  background: var(--rose-surface) !important; color: var(--rose-ink) !important;
  border: 1px solid var(--rose-outline) !important; border-radius: 20px !important;
  box-shadow: var(--rose-shadow) !important;
}
body.theme-rose .widget::before { display: none !important; }
body.theme-rose :is(.section-title, .widget .widget-title, .gc-title, .wd-title, .rc-title, .lst-title,
  .hlp-title, .dk-title, .tuimu-title, .tuimu-box-fv .tuimu-title) {
  color: var(--rose-ink) !important; text-shadow: none !important; font-style: normal !important;
}
body.theme-rose :is(.section-header, .widget .widget-header)::after {
  background: var(--rose-primary) !important; width: 44px; height: 3px; border-radius: 9px; box-shadow: none;
}
body.theme-rose :is(.widget-content, .tui-mu-name, .code-fc-name, .trust-text b) { color: var(--rose-ink) !important; }
body.theme-rose :is(.tui-mu-gift-hint, .trust-text span, .tuimu-sub) { color: var(--rose-muted) !important; }
body.theme-rose :is(.tui-mu-card:hover, .code-fc-item:hover, .trust-item:hover) { border-color: var(--rose-primary) !important; box-shadow: 0 10px 24px rgba(117,39,76,.11) !important; }
body.theme-rose :is(.trust-ico, .tui-mu-thumb-wrap, .code-fc-thumb) { background: var(--rose-soft) !important; border-color: var(--rose-border) !important; }
body.theme-rose .tui-mu-card-sale { border-color: var(--rose-primary) !important; animation: none !important; }

/* Primary actions use a darker rose with legible white labels. */
body.theme-rose :is(.btn-button, .icon-button, .btn-default, .btn-primary,
  .tui-mu-btn, .tui-mu-btn-sale, .code-fc-btn, .flash-sale-btn,
  .gc-submit, .gc-success-btn, .wd-submit, .rc-submit, .quick-login-submit, .quick-login-fast,
  .ms-voucher-btn, .flash-voucher-btn, .tuimu-btn, .tuimu-confirm-ok,
  .gc-notice-actions a, .gc-notice-actions button, .wd-notice-actions a, .wd-notice-actions button,
  .support-chat-send, .support-chat-locked a, .atm-panel .qr-atm-create, .swal-button--confirm) {
  background: var(--rose-primary) !important; color: #fff !important; border: 1px solid var(--rose-primary) !important;
  box-shadow: 0 4px 10px rgba(42,31,38,.1) !important; border-radius: 12px;
  text-shadow: none !important; letter-spacing: 0;
}
body.theme-rose :is(.btn-button, .icon-button) { border-radius: 999px !important; text-transform: none; }
body.theme-rose #notify .btn-secondary { background: var(--rose-primary) !important; color: #fff !important; border: 0; border-radius: 10px; }
body.theme-rose :is(.btn-default, .btn-primary, .tui-mu-btn, .code-fc-btn, .wd-submit, .rc-submit,
  .gc-submit, .quick-login-submit, .quick-login-fast, .ms-voucher-btn, .tuimu-btn):hover {
  background: var(--rose-hover) !important; border-color: var(--rose-hover) !important;
  color: #fff !important; filter: none !important;
}
body.theme-rose :is(.btn-success, .wd-notice-icon.is-success, .gc-notice-icon.is-success) { background: #257454 !important; color: #fff !important; border-color: #257454 !important; }
body.theme-rose :is(.btn-danger, .wd-notice-icon.is-error, .gc-notice-icon.is-error) { background: #b9344e !important; color: #fff !important; border-color: #b9344e !important; }
body.theme-rose :is(.gc-notice-actions .is-secondary, .tuimu-fv-actions .tuimu-btn-secondary, .tuimu-confirm-cancel, .swal-button--cancel) {
  background: var(--rose-soft) !important; color: var(--rose-primary) !important; border: 1px solid var(--rose-border) !important; box-shadow: none !important;
}
body.theme-rose :is(.flash-sale-btn.is-disabled, .tuimu-confirm-btn:not(.ready)) { background: #eee4e9 !important; color: #79636f !important; border-color: #e4d7dd !important; box-shadow: none !important; }
body.theme-rose .tuimu-confirm-btn:not(.ready) b { color: var(--rose-ink) !important; }
body.theme-rose :is(.tui-mu-badge, .code-fc-free-badge, .tui-mu-sale-ribbon, .flash-sale-hot-badge,
  .rc-hot-badge, .quick-recharge-hot-badge, .gift-badge-voucher, .ms-voucher-badge, .flash-voucher-badge,
  .tuimu-hot-badge, .tuimu-hot-badge-free, .tuimu-hunt-off) {
  background: var(--rose-primary) !important; color: #fff !important; border-color: transparent !important;
  box-shadow: none !important; text-shadow: none !important; animation: none !important;
}

/* Inputs, labels and keyboard focus */
body.theme-rose :is(.form-control, .gc-input, .wd-input, .wd-select, .rc-input, .rc-select,
  .quick-login-input, .code-fc-input, .support-chat-input, .atm-panel input, .atm-panel select,
  div.dataTables_wrapper .dataTables_filter input, div.dataTables_wrapper .dataTables_length select) {
  background: #fff !important; color: var(--rose-ink) !important; border: 1px solid var(--rose-outline) !important;
  border-radius: 10px !important; box-shadow: none; font-style: normal;
}
body.theme-rose :is(input, textarea)::placeholder { color: #8d7482 !important; opacity: 1; }
body.theme-rose :is(label, .wd-label, .rc-label) { color: var(--rose-muted) !important; }
body.theme-rose :is(.form-control, .gc-input, .wd-input, .wd-select, .rc-input, .rc-select,
  .quick-login-input, .code-fc-input, .support-chat-input, .atm-panel input, .atm-panel select,
  div.dataTables_wrapper .dataTables_filter input, div.dataTables_wrapper .dataTables_length select):focus {
  background: #fff !important; color: var(--rose-ink) !important; border-color: var(--rose-primary) !important;
  box-shadow: 0 0 0 3px rgba(184,62,109,.12) !important;
}
body.theme-rose select option { color: var(--rose-ink) !important; background: #fff !important; }

/* Withdrawal balance and informative blocks */
body.theme-rose .wd-tabs { max-width: 480px; }
body.theme-rose .wd-tab { display: flex; align-items: center; gap: 12px; padding: 14px 18px; text-align: left; cursor: default; }
body.theme-rose .wd-tab.active { background: var(--rose-soft) !important; border: 1px solid var(--rose-border) !important; box-shadow: none !important; }
body.theme-rose .wd-tab-icon { margin-bottom: 0; }
body.theme-rose .wd-tab-name { color: var(--rose-ink) !important; font-size: 13px; }
body.theme-rose .wd-tab-balance { margin-left: auto; color: var(--rose-primary) !important; font-size: 22px; }
body.theme-rose :is(.gc-terms, .wd-terms, .rc-method-card, .rc-bonus-item, .quick-recharge-method-card,
  .quick-recharge-bonus-item, .quick-recharge-method-body, .qr-atm-tip, .atm-panel .qr-atm-panel,
  .dk-article, .dk-confirm, .hlp-note, .hlp-steps li, .hlp-related-item, .hlp-list-card,
  .gc-reward-item, .tuimu-rent-tile, .tuimu-result, .tuimu-fv-balance, .tuimu-welcome-gift,
  .tuimu-voucher-box, .tuimu-acc-box) {
  background: #fff8fb !important; color: var(--rose-ink) !important;
  border-color: var(--rose-border) !important; box-shadow: none !important;
}
body.theme-rose :is(.rc-bonus-item.active, .rc-bonus-item:hover, .quick-recharge-bonus-item.active,
  .quick-recharge-bonus-item:hover, .rc-method-active, .tuimu-rent-tile.active) {
  background: var(--rose-soft) !important; border-color: var(--rose-primary) !important; box-shadow: none !important;
}
body.theme-rose :is(.gc-terms b, .wd-terms b, .wd-history-head, .rc-history-head, .rc-bonus-plus,
  .rc-method-arrow, .rc-method-note .rc-method-text span b, .quick-recharge-method-text b,
  .quick-recharge-method-text span b, .quick-recharge-bonus-item span, .gc-reward-amount,
  .hlp-heading, .hlp-note h4, .hlp-note b, .hlp-note a, .hlp-related-title, .dk-article h3,
  .dk-confirm b, .dk-sub-label, .tuimu-fv-balance b, .tuimu-fv-balance a, .tuimu-welcome-gift strong,
  .tuimu-rent-price, .tuimu-rent-tile.active .tuimu-rent-price, .tuimu-result h4,
  .tuimu-voucher-box b, .tuimu-confirm-price) { color: var(--rose-primary) !important; text-shadow: none !important; }
body.theme-rose :is(.rc-bonus-amount, .rc-method-text b, .quick-recharge-bonus-item b,
  .hlp-list-card h4, .gc-reward-name, .tuimu-rent-tile.active .tuimu-rent-label) { color: var(--rose-ink) !important; }
body.theme-rose :is(.gc-terms, .wd-terms, .rc-method-title, .rc-method-text span, .rc-method-note .rc-method-text span,
  .quick-recharge-intro, .quick-recharge-method-text span, .quick-login-signup, .quick-login-or,
  .hlp-crumb, .hlp-date, .hlp-list-card p, .hlp-lead, .dk-updated,
  .tuimu-rent-label, .tuimu-rent-label em, .tuimu-fv-caption, .tuimu-fv-note) { color: var(--rose-muted) !important; }
body.theme-rose :is(.gc-icon-btn, .hlp-tag, .hlp-icon, .tuimu-back, .tuimu-eye-btn, .tuimu-copy-btn,
  .lst-val, .lst-eye, .lst-copy, .tuimu-acc-val, .tuimu-confirm-btn) {
  background: var(--rose-soft) !important; color: var(--rose-primary) !important; border-color: var(--rose-border) !important;
}
body.theme-rose :is(.hlp-check, .dk-check) { color: #257454 !important; }
body.theme-rose :is(.tuimu-confirm-btn.ready, .tuimu-confirm-btn.ready b) { background: var(--rose-primary) !important; color: #fff !important; }
body.theme-rose :is(.tuimu-hunt-box, .tuimu-fv-prize, .tuimu-bag.fv-opened) { background: var(--rose-soft) !important; border-color: var(--rose-outline) !important; box-shadow: none !important; }
body.theme-rose :is(.tuimu-hunt-title, .tuimu-hunt-now, .tuimu-hunt-timer, .tuimu-fv-prize-label, .tuimu-fv-amount, .tuimu-fv-mini) { color: var(--rose-primary) !important; text-shadow: none !important; }
body.theme-rose .tuimu-bag { background: #fff4f8 !important; border-color: var(--rose-border) !important; }
body.theme-rose .tuimu-bag.selected { border-color: var(--rose-primary) !important; }
body.theme-rose .tuimu-dot { background: #b96b8b !important; }

/* History tables */
body.theme-rose :is(.table, .lst-table, .rc-history-table, .wd-history-table) { color: var(--rose-ink) !important; border-color: var(--rose-border) !important; }
body.theme-rose :is(.table > :not(caption) > * > *, .lst-table td, .rc-history-table td, .wd-history-table td, .gc-history-row) {
  color: var(--rose-ink) !important; background: transparent !important; border-color: var(--rose-border) !important;
}
body.theme-rose :is(.table thead th, .lst-table th, .rc-history-table th, .wd-history-table th) { color: var(--rose-ink) !important; border-color: var(--rose-border) !important; background: #fcf0f5 !important; }
body.theme-rose .table-hover > tbody > tr:hover > * { background: #fff0f6 !important; }
body.theme-rose :is(.lst-empty, .rc-history-empty, .wd-history-empty, .gc-history-empty,
  .gc-history-row .items, .gc-history-row .time, .dataTables_info, .dataTables_length, .dataTables_filter) { color: var(--rose-muted) !important; }
body.theme-rose :is(.gc-history-row .stt, .gc-history-row .code, .lst-countdown) { color: var(--rose-primary) !important; }
body.theme-rose :is(.wd-status.s0, .atm-panel .qr-atm-unavailable) { background: #fff4df !important; color: #895d24 !important; }
body.theme-rose .wd-status.s1 { background: #eaf6ef !important; color: #257454 !important; }
body.theme-rose .wd-status.s2 { background: #fce9ed !important; color: #b9344e !important; }
body.theme-rose .lst-countdown.expired { color: #b9344e !important; }
body.theme-rose :is(.page-link, div.dataTables_wrapper .dataTables_paginate .paginate_button) { color: var(--rose-primary) !important; background: #fff !important; border-color: var(--rose-border) !important; }
body.theme-rose :is(.page-item.active .page-link, div.dataTables_wrapper .dataTables_paginate .paginate_button.current) { color: #fff !important; background: var(--rose-primary) !important; border-color: var(--rose-primary) !important; }

/* Blush surfaces and deeper berry accents give Flash Sale clear tonal depth. */
body.theme-rose .flash-sale-box { background: #ffedf4 !important; border: 1px solid var(--rose-outline) !important; box-shadow: var(--rose-shadow) !important; border-radius: 20px; }
body.theme-rose .flash-sale-head { background: linear-gradient(120deg, #fff0f6 0%, #ffe4ef 55%, #ffdce9 100%) !important; }
body.theme-rose :is(.flash-sale-title, .flash-sale-tab) { color: var(--rose-ink) !important; text-shadow: none !important; font-style: normal !important; }
body.theme-rose .flash-sale-tab {
  background: linear-gradient(180deg, #fff9fc, #f6e4ec) !important;
  box-shadow: inset 0 0 0 1px #dca1bd !important;
  opacity: 1 !important;
}
body.theme-rose .flash-sale-tab sub { color: #735665 !important; }
body.theme-rose .flash-countdown-box {
  position: relative;
  background: linear-gradient(135deg, #812044, #b52e68) !important;
  color: #fff !important;
  border-color: #91224f !important;
  box-shadow: 0 5px 14px rgba(88,30,55,.16) !important;
  animation: none !important;
}
body.theme-rose .flash-sale-tab.active {
  background: linear-gradient(135deg, #a92760, #c73778) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 4px 10px rgba(109,35,68,.13) !important;
}
body.theme-rose :is(.flash-countdown-box strong, .flash-countdown-note, .flash-sale-tab.active p, .flash-sale-tab.active sub) { color: #fff !important; text-shadow: none !important; }
body.theme-rose .flash-sale-body { background: linear-gradient(180deg, #ffe6f0, #fff0f6) !important; }
body.theme-rose .flash-sale-body .text-white { color: var(--rose-ink) !important; }
body.theme-rose .flash-sale-card { background: linear-gradient(180deg, #fff 65%, #fff6fa) !important; border-color: var(--rose-outline) !important; box-shadow: 0 3px 9px rgba(117,39,76,.07) !important; }
body.theme-rose .flash-sale-card:hover { border-color: var(--rose-primary) !important; box-shadow: 0 6px 18px rgba(117,39,76,.12) !important; }
body.theme-rose .flash-sale-img img { background: #fff9fc !important; }
body.theme-rose :is(.flash-sale-id, .flash-sale-price, .flash-sale-slots) { color: var(--rose-primary) !important; }
body.theme-rose .flash-sale-price { color: #b52e68 !important; }
body.theme-rose :is(.flash-sale-old, .flash-sale-slots.is-sold-note) { color: var(--rose-muted) !important; }
body.theme-rose .flash-sale-old b { background: var(--rose-soft) !important; color: var(--rose-primary) !important; }
body.theme-rose .fs-ticker-wrap { background: #ffedf4 !important; border-color: var(--rose-border) !important; }
body.theme-rose .fs-ticker { color: #745365 !important; }
body.theme-rose .fs-ticker b { color: #a83263 !important; }
body.theme-rose .flash-sale-card.is-sold-out { background: #fff5f9 !important; border-color: #cd8caa !important; filter: none; opacity: 1; box-shadow: none !important; }
body.theme-rose .flash-sale-card.is-sold-out .flash-sale-img { filter: grayscale(.8); opacity: .7; }
body.theme-rose .flash-sale-card.is-sold-out :is(.flash-sale-id, .flash-sale-price, .flash-sale-slots) { color: #79586a !important; }
body.theme-rose .flash-sale-card.is-sold-out .flash-sale-btn.is-disabled { background: #f2dce7 !important; color: #84546a !important; border-color: var(--rose-border) !important; }
body.theme-rose .flash-sale-sold-badge { background: #90506d !important; box-shadow: none !important; }
body.theme-rose .fs-mute-btn { background: rgba(255,255,255,.16) !important; border-color: rgba(255,255,255,.4) !important; color: #fff !important; }

/* Dialogs and rich-text announcements */
body.theme-rose :is(.quick-login-modal, .quick-recharge-modal, .code-fc-modal, .gc-success-modal,
  .gc-history-modal, .gc-notice-modal, .wd-notice-modal, .ms-voucher-box, .flash-voucher-box,
  .tuimu-confirm-modal, .swal-modal, #notify .modal-content) {
  background: #fff !important; color: var(--rose-ink) !important; border: 1px solid var(--rose-outline) !important;
  box-shadow: 0 18px 50px rgba(42,31,38,.18) !important;
}
body.theme-rose :is(.quick-login-title, .quick-recharge-modal .quick-login-title, .code-fc-modal h3,
  .gc-notice-modal h3, .wd-notice-modal h3, .gc-success-modal h3, .swal-title, #notify .modal-title,
  .flash-voucher-title, .ms-voucher-title) { color: var(--rose-ink) !important; text-shadow: none !important; }
body.theme-rose :is(.gc-success-head, .gc-history-head, .support-chat-head) { background: var(--rose-soft) !important; color: var(--rose-primary) !important; }
body.theme-rose :is(.gc-history-head button, .quick-login-close, .support-chat-close, .flash-voucher-close) { color: var(--rose-primary) !important; background: #f9e2ec !important; }
body.theme-rose :is(.gc-notice-modal p, .wd-notice-modal p, .swal-text, .ms-voucher-desc,
  .ms-voucher-example, .flash-voucher-desc, .flash-voucher-note) { color: var(--rose-muted) !important; text-shadow: none !important; }
body.theme-rose :is(.code-fc-code-box strong, .ms-voucher-desc b, .recharge-paid-amount, .flash-voucher-desc b) { color: var(--rose-primary) !important; }
body.theme-rose .code-fc-code-box { background: #fff7fa !important; border-color: var(--rose-outline) !important; }
body.theme-rose .code-fc-progress-wrap { background: var(--rose-soft) !important; }
body.theme-rose .code-fc-progress-bar { background: var(--rose-primary) !important; }
body.theme-rose .code-fc-spinner { border-color: #f1d4e1 !important; border-top-color: var(--rose-primary) !important; }
body.theme-rose :is(.gc-notice-icon, .wd-notice-icon) { background: var(--rose-soft); color: var(--rose-primary); box-shadow: none !important; }
body.theme-rose #notify .modal-body :is(p, span, div, li, font) { color: var(--rose-muted) !important; background-color: transparent !important; }
body.theme-rose #notify .modal-body :is(b, strong, b span, strong span) { color: var(--rose-ink) !important; font-weight: 600 !important; }
body.theme-rose #notify .modal-body > :first-child :is(span, b, strong) { color: var(--rose-primary) !important; }
body.theme-rose #notify .modal-body a { color: var(--rose-primary) !important; }
body.theme-rose #notify .modal-body { padding: 22px 24px; line-height: 1.8; }
body.theme-rose #notify .modal-title { text-transform: none !important; }
body.theme-rose #notify :is(.modal-header, .modal-footer) { border-color: var(--rose-border) !important; }
body.theme-rose .modal-backdrop.show { opacity: .32 !important; }
body.theme-rose :is(.quick-login-overlay, .code-fc-overlay, .gc-overlay, .wd-overlay, .ms-voucher-backdrop, .flash-voucher-backdrop, .tuimu-confirm-overlay) { background: rgba(45,25,36,.42) !important; }
body.theme-rose :is(.code-fc-warn, .ms-voucher-error) { color: #b9344e !important; }

/* Recharge panels, including late-loaded ATM/dropdown styles. */
body.theme-rose .rc-bonus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.theme-rose #quickRechargeOverlay .quick-recharge-bonus-item .quick-recharge-hot-badge { color: #fff !important; }
body.theme-rose .atm-panel { color: var(--rose-ink) !important; }
body.theme-rose :is(.qr-atm-tip-text b, .qr-atm-chevron, .atm-panel .qr-atm-tip-text b,
  .atm-panel .qr-atm-chevron, .atm-panel .qr-atm-order-title, .atm-panel .qr-atm-exact-amount > b,
  .atm-panel .qr-atm-memo > b) { color: var(--rose-primary) !important; }
body.theme-rose :is(.qr-atm-tip-text span, .atm-panel .qr-atm-tip-text span, .atm-panel .qr-atm-hint,
  .atm-panel .qr-atm-detail > span, .atm-panel .qr-atm-memo > span, .atm-panel .qr-atm-feedback) { color: var(--rose-muted) !important; }
body.theme-rose :is(.qr-nodeduct-badge, .atm-panel .qr-atm-memo) { background: var(--rose-soft) !important; border-color: var(--rose-border) !important; color: var(--rose-primary) !important; }
body.theme-rose :is(.atm-panel .qr-atm-warning, .atm-panel .qr-atm-expiry) { color: #895d24 !important; }
body.theme-rose .atm-panel .qr-atm-detail { border-color: var(--rose-border) !important; }
body.theme-rose .atm-panel button:not(.qr-atm-create) { color: var(--rose-primary) !important; background: #fff !important; border-color: var(--rose-border) !important; }
body.theme-rose .atm-panel .qr-atm-presets :is(button.active, button:not(:disabled):hover) { color: #fff !important; background: var(--rose-primary) !important; border-color: var(--rose-primary) !important; }

/* Support chat */
body.theme-rose .support-chat-btn { background: var(--rose-primary) !important; box-shadow: 0 5px 18px rgba(42,31,38,.16) !important; animation: none !important; }
body.theme-rose .support-chat-badge { background: var(--rose-primary) !important; color: #fff !important; box-shadow: none !important; animation: none !important; }
body.theme-rose .support-chat-panel { background: #fff !important; border-color: var(--rose-outline) !important; box-shadow: var(--rose-shadow) !important; }
body.theme-rose .support-chat-body { background: #fffbfd; }
body.theme-rose :is(.support-chat-bubble.from-admin, .support-chat-bubble.from-bot) { background: var(--rose-soft) !important; color: var(--rose-ink) !important; border-color: var(--rose-border) !important; }
body.theme-rose .support-chat-bubble.from-user { background: var(--rose-primary) !important; color: #fff !important; }
body.theme-rose :is(.support-chat-faq-chip, .support-chat-bubble-tag) { color: var(--rose-primary) !important; background: #fff7fa !important; border-color: var(--rose-border) !important; }
body.theme-rose :is(.support-chat-faq, .support-chat-input-wrap) { border-color: var(--rose-border) !important; }
body.theme-rose .support-chat-locked p { color: var(--rose-muted) !important; }

/* Footer */
body.theme-rose footer { background: var(--rose-soft) !important; border-top-color: var(--rose-outline) !important; }
body.theme-rose :is(footer .footer-heading, footer .footer-links a i, footer .footer-trust li i, #return-to-top) { color: var(--rose-primary) !important; }
body.theme-rose :is(footer .footer-desc, footer .footer-links a, footer .copyright, .social-icons a) { color: var(--rose-muted) !important; }
body.theme-rose :is(footer .footer-links a:hover, .social-icons a:hover) { color: var(--rose-primary) !important; }
body.theme-rose footer .footer-heading::after { background: var(--rose-primary) !important; }
body.theme-rose footer hr { border-color: var(--rose-border) !important; }
body.theme-rose .slick-dots li.slick-active button::before,
body.theme-rose .contact-item .icon { background: var(--rose-primary) !important; }

@media (max-width: 767px) {
  body.theme-rose .footer-logo { margin-left: auto; margin-right: auto; }
  /* Keep the footer readable without stacking every link group on phones. */
  body.theme-rose footer.site-footer { margin-top: 20px; padding-top: 0; }
  .site-footer .footer-inner { padding: 22px 0 12px; text-align: left; }
  .site-footer .footer-main-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    margin: 0;
  }
  .site-footer .footer-main-row > div { width: auto; min-width: 0; margin: 0; padding: 0; }
  .site-footer .footer-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }
  body.theme-rose footer.site-footer .footer-logo {
    grid-row: 1 / 3;
    width: 64px !important;
    height: 64px !important;
    margin: 0;
  }
  .site-footer .footer-desc { font-size: 12.5px; line-height: 1.5; margin: 0; }
  .site-footer .footer-brand .social-icons { display: flex; gap: 2px; margin: 2px 0 0; }
  .site-footer .footer-brand .social-icons li { margin: 0; }
  .site-footer .footer-brand .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 40px;
  }
  .site-footer .footer-heading { font-size: 13px; letter-spacing: 0; margin: 0 0 6px; padding-bottom: 8px; }
  .site-footer .footer-heading::after { width: 28px; }
  .site-footer .footer-links { margin: 0; }
  .site-footer .footer-links li { margin: 0; }
  .site-footer .footer-links a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 0;
    font-size: 12.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .site-footer .footer-links a i { flex: 0 0 auto; margin-right: 5px; }
  .site-footer .footer-community { grid-column: 1 / -1; }
  .site-footer .footer-community .footer-links { display: flex; flex-wrap: wrap; column-gap: 18px; }
  .site-footer hr { margin: 14px 0 10px; }
  .site-footer .footer-bottom-row { --bs-gutter-y: 0; }
  .site-footer .footer-inner .copyright { display: block; font-size: 11.5px; line-height: 1.6; }
  .site-footer #return-to-top { display: inline-flex; align-items: center; min-height: 40px; font-size: 12px; float: none !important; }
  body.theme-rose :is(.section-title, .widget .widget-title) { font-size: 20px; }
  body.theme-rose .flash-sale-head { padding: 18px 14px 12px; }
  body.theme-rose .mobile-bottom-nav { min-height: 60px; }
}
@media (max-width: 360px) {
  body.theme-rose .rc-bonus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-rose :is(.tui-mu-card, .code-fc-item, .trust-item, .btn-default) { transition: none !important; transform: none !important; }
}
