/* Companion rewards pages; legacy iOS uses flex and margins throughout. */
body.me-redesign #referralModal .referral-modal,
body.me-redesign #rebateRecordsModal .rebate-records-modal { width:100%;max-width:480px;height:100%;margin:0 auto;background:#371724 !important; }
body.me-redesign #referralModal .referral-header,
body.me-redesign #rebateRecordsModal .rebate-records-header { padding:12px 48px 12px 16px;border-bottom:1px solid #754258;background:linear-gradient(125deg,#60293f,#411c2e) !important; }
body.me-redesign #referralModal .referral-title,
body.me-redesign #rebateRecordsModal .rebate-records-title { text-align:left;font-size:17px;line-height:23px;color:#f5dce9 !important; }
body.me-redesign #referralModal .referral-title small,
body.me-redesign #rebateRecordsModal .rebate-records-title small { display:block;font-size:10px;font-weight:400;line-height:16px;color:#c795af; }
body.me-redesign #referralModal .referral-close,
body.me-redesign #rebateRecordsModal .rebate-records-close { background:transparent !important;color:#e7bbcf !important; }
body.me-redesign #referralModal .referral-body { overflow:hidden;background:#371724 !important;min-height:0; }
body.me-redesign #referralModal .referral-tabs { padding:10px 12px 7px;border:0;background:transparent !important; }
body.me-redesign #referralModal .me-pill-switch > label { min-width:0;padding:7px 5px; }
body.me-redesign #referralModal .tab-text { font-size:11px; }
body.me-redesign #referralModal .referral-tab-content { min-height:0;scrollbar-width:none;-ms-overflow-style:none; }
body.me-redesign #referralModal .referral-tab-content::-webkit-scrollbar,
body.me-redesign #rebateRecordsModal .rebate-records-body::-webkit-scrollbar { display:none;width:0; }
body.me-redesign #referralModal .referral-form-container { padding:3px 12px 18px; }
body.me-redesign #referralModal .referral-link-section { padding:14px;margin-bottom:12px;border:1px solid #9b5875;border-radius:17px;background:linear-gradient(125deg,#763a55,#492235) !important; }
body.me-redesign .reward-invite-heading { display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-between;justify-content:space-between;margin-bottom:10px; }
body.me-redesign .reward-invite-heading img { width:64px;height:64px;margin-left:12px; }
body.me-redesign .reward-eyebrow { display:block;font-size:10px;line-height:17px;color:#d7a5be;letter-spacing:1px; }
body.me-redesign .reward-invite-heading h2,
body.me-redesign .reward-rebate-intro h2 { margin:4px 0 0;font-size:19px;line-height:27px;color:#ffe4f2; }
body.me-redesign #referralModal .section-title { font-size:12px;color:#edcddd !important;margin-bottom:8px; }
body.me-redesign #referralModal .referral-link-wrapper { display:-webkit-flex;display:flex;margin:0;padding:4px;border:1px solid #965570;border-radius:10px;background:#391827 !important; }
body.me-redesign #referralModal .referral-link-input { -webkit-flex:1;flex:1;min-width:0;width:0;height:34px;padding:6px;border:0 !important;background:transparent !important;font-size:12px;color:#edcddd !important; }
body.me-redesign #referralModal #referralCopyBtn { -webkit-flex-shrink:0;flex-shrink:0;padding:6px 12px;margin:0;border:0;border-radius:7px;font-size:11px;background:#8d4764 !important;color:#fff0f8 !important; }
body.me-redesign #referralModal .referral-link-tip { margin-top:8px;font-size:10px;line-height:18px;color:#d4a5bd !important; }
body.me-redesign #referralModal .referral-stats-section { padding:0;margin:0;border:0;background:transparent !important; }
body.me-redesign #referralModal .referral-stats-header { margin:0 0 8px; }
body.me-redesign #referralModal .stats-time-filter,
body.me-redesign #referralModal .filter-select { height:33px;padding:6px 8px;border:1px solid #875069;border-radius:8px;font-size:11px;background:#492235 !important;color:#edcddd !important; }
body.me-redesign .reward-team-grid { display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0 -4px; }
body.me-redesign .reward-team-card { width:calc(50% - 8px);margin:0 4px 8px;padding:10px;box-sizing:border-box;border:1px solid #754057;border-radius:12px;background:#492235; }
body.me-redesign .reward-team-card:nth-child(2) { background:#442638;border-color:#78506c; }
body.me-redesign .reward-team-card:nth-child(3) { background:#442536;border-color:#80546b; }
body.me-redesign .reward-team-card:nth-child(4) { background:#573047;border-color:#99617e; }
body.me-redesign .reward-team-heading { display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-between;justify-content:space-between;padding-bottom:7px;margin-bottom:7px;border-bottom:1px solid #754057; }
body.me-redesign .reward-team-heading h3 { margin:0;font-size:12px;color:#f3d6e6; }
body.me-redesign #referralModal .tier-rate { font-size:9px;color:#d8a6bf !important; }
body.me-redesign .reward-team-metric { display:-webkit-flex;display:flex;-webkit-justify-content:space-between;justify-content:space-between;margin-top:5px;font-size:10px;line-height:16px; }
body.me-redesign .reward-team-metric span { color:#be91a8;margin-right:5px;-webkit-flex-shrink:0;flex-shrink:0; }
body.me-redesign .reward-team-metric strong { min-width:0;word-break:break-all;text-align:right;font-size:11px;font-weight:500;color:#edcddd; }
body.me-redesign .reward-pending-grid { display:-webkit-flex;display:flex;margin:2px -4px 12px; }
body.me-redesign .reward-pending-grid > div { -webkit-flex:1;flex:1;min-width:0;margin:0 4px;padding:11px;border:1px solid #875069;border-radius:11px;background:#5b2c43; }
body.me-redesign .reward-pending-grid span { display:block;margin-bottom:5px;font-size:10px;color:#cea0b8; }
body.me-redesign .reward-pending-grid strong { display:block;font-size:17px;line-height:23px;color:#ffe1f0;word-break:break-word; }
body.me-redesign #referralModal .referral-commission-rules,
body.me-redesign #rebateRecordsModal .rebate-rules-section { padding:12px;margin:12px 0 0;border:1px solid #754057;border-radius:12px;background:#401e30 !important; }
body.me-redesign #referralModal .referral-commission-rules-title,
body.me-redesign #rebateRecordsModal .rebate-rules-title { margin:0 0 8px;font-size:12px;color:#e8bfd5 !important; }
body.me-redesign #referralModal .referral-commission-rules-list,
body.me-redesign #rebateRecordsModal .rebate-rules-list { margin:0;padding-left:16px; }
body.me-redesign #referralModal .referral-commission-rules-list li,
body.me-redesign #rebateRecordsModal .rebate-rules-list li { margin:4px 0;font-size:10px;line-height:18px;color:#bd8fa7 !important; }
body.me-redesign #referralModal .referral-tip-section { margin:0 0 10px;padding:9px 11px;border:0;border-left:2px solid #ad718e;border-radius:0;background:#482336 !important; }
body.me-redesign #referralModal .referral-tip { font-size:10px;line-height:18px;color:#d3a3bb !important; }
body.me-redesign #referralModal .referral-list-section,
body.me-redesign #referralModal .referral-history-section { padding:0;margin-bottom:12px;border:0;background:transparent !important; }
body.me-redesign #referralModal .referral-list-item { padding:11px;margin-bottom:8px;border:1px solid #754057;border-radius:11px;background:#492235 !important; }
body.me-redesign #referralModal .referral-item-row { padding:0;margin:0 0 5px;font-size:11px;line-height:18px; }
body.me-redesign #referralModal .referral-item-label { font-size:10px;color:#be91a8 !important; }
body.me-redesign #referralModal .referral-item-value { min-width:0;font-size:11px;word-break:break-word;color:#ebc7da !important; }
body.me-redesign #referralModal .referral-item-value.highlight { font-size:16px;color:#f8d5e9 !important; }
body.me-redesign #referralModal .referral-claim-btn,
body.me-redesign #referralModal .downline-transfer-btn,
body.me-redesign #referralModal .downline-deduct-btn { padding:7px 12px;border:1px solid #a96c88;border-radius:999px;font-size:11px;background:#85435f !important;color:#fff0f8 !important; }
body.me-redesign #referralModal .referral-empty { padding:26px 12px;margin-bottom:10px;border:1px dashed #754057;border-radius:11px;font-size:11px;color:#bd8fa7 !important;background:#401e30 !important; }
body.me-redesign #referralModal .referral-filter-section { padding:0;margin:0 0 10px;border:0;background:transparent !important; }
body.me-redesign #referralModal .filter-row { display:-webkit-flex;display:flex;margin:0 -3px; }
body.me-redesign #referralModal .filter-item { -webkit-flex:1;flex:1;min-width:0;margin:0 3px; }
body.me-redesign #referralModal .filter-item .filter-select { width:100%;min-width:0;box-sizing:border-box; }
body.me-redesign #rebateRecordsModal .rebate-records-body { padding:12px;min-height:0;background:#371724 !important;scrollbar-width:none;-ms-overflow-style:none; }
body.me-redesign .reward-rebate-intro { display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;margin:0 0 12px; }
body.me-redesign .reward-rebate-intro img { width:54px;height:54px;margin-right:10px; }
body.me-redesign .reward-rebate-intro h2 { font-size:16px;line-height:23px; }
body.me-redesign .reward-rebate-dashboard { padding:13px;border:1px solid #9b5875;border-radius:17px;background:linear-gradient(125deg,#763a55,#492235); }
body.me-redesign #rebateRecordsModal .rebate-vip-card { display:-webkit-flex;display:flex;padding:0 0 10px;margin:0;border:0;border-bottom:1px solid #93546e;border-radius:0;background:transparent !important; }
body.me-redesign #rebateRecordsModal .rebate-vip-item { -webkit-flex:1;flex:1;margin:0;padding:0; }
body.me-redesign #rebateRecordsModal .rebate-vip-item + .rebate-vip-item { text-align:right; }
body.me-redesign #rebateRecordsModal .rebate-vip-label { display:block;font-size:10px;color:#d4a4bc !important; }
body.me-redesign #rebateRecordsModal .rebate-vip-value { display:block;margin-top:4px;font-size:17px;line-height:23px;color:#ffe1f0 !important; }
body.me-redesign #rebateRecordsModal .rebate-claimable-card { padding:13px 0 0;margin:0;border:0;border-radius:0;background:transparent !important;box-shadow:none; }
body.me-redesign #rebateRecordsModal .rebate-claimable-header { margin-bottom:12px; }
body.me-redesign #rebateRecordsModal .rebate-claimable-title { margin:0;font-size:12px;color:#edc7db !important; }
body.me-redesign #rebateRecordsModal .rebate-date-badge { padding:3px 7px;border-radius:999px;font-size:10px;color:#e4bbd0 !important;background:#68364e !important; }
body.me-redesign #rebateRecordsModal .rebate-stats { display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;margin:0 0 12px; }
body.me-redesign #rebateRecordsModal .rebate-stat-item { margin:0;padding:0;border:0;background:transparent !important; }
body.me-redesign #rebateRecordsModal .rebate-stat-item:nth-child(2) { -webkit-order:-1;order:-1;margin-bottom:10px; }
body.me-redesign #rebateRecordsModal .rebate-stat-label { display:block;font-size:10px;color:#d4a4bc !important; }
body.me-redesign #rebateRecordsModal .rebate-stat-value { font-size:14px;color:#e9c4d8 !important; }
body.me-redesign #rebateRecordsModal .rebate-stat-highlight { display:block;margin-top:4px;font-size:32px;line-height:40px;color:#ffe8f4 !important;font-weight:600; }
body.me-redesign #rebateRecordsModal .rebate-claim-btn { width:100%;min-height:40px;padding:10px;border:1px solid #ba809a;border-radius:11px;background:#a25573 !important;color:#fff0f8 !important;font-size:13px;box-shadow:none; }
body.me-redesign #rebateRecordsModal .rebate-claim-btn:disabled { background:#694052 !important;color:#c4a1b4 !important; }
body.me-redesign #rebateRecordsModal .rebate-claim-icon { font-size:16px;margin-right:5px; }
body.me-redesign #rebateRecordsModal .rebate-claim-status { font-size:10px;line-height:18px;margin-top:7px;color:#d4a4bc; }
body.me-redesign #rebateRecordsModal .rebate-claim-status:empty { display:none; }
body.me-redesign #rebateRecordsModal .rebate-records-section { padding:0;margin:16px 0 0;border:0;background:transparent !important; }
body.me-redesign #rebateRecordsModal .rebate-records-header-section { margin-bottom:9px;padding:0;border:0; }
body.me-redesign #rebateRecordsModal .rebate-records-title-section { margin:0;font-size:13px;color:#edc7db !important; }
body.me-redesign #rebateRecordsModal .rebate-record-item { padding:10px;margin-bottom:8px;border:1px solid #754057;border-radius:11px;background:#492235 !important; }
body.me-redesign #rebateRecordsModal .rebate-record-date { padding-bottom:7px;margin-bottom:7px;border-bottom:1px solid #68364d; }
body.me-redesign #rebateRecordsModal .rebate-record-date-text { font-size:11px;color:#edc7db !important; }
body.me-redesign #rebateRecordsModal .rebate-record-status-badge { padding:3px 7px;border-radius:999px;font-size:9px; }
body.me-redesign #rebateRecordsModal .rebate-record-status-badge.distributed { background:#294b41 !important;color:#9ce0c0 !important; }
body.me-redesign #rebateRecordsModal .rebate-record-status-badge.pending { background:#654b24 !important;color:#ffcf83 !important; }
body.me-redesign #rebateRecordsModal .rebate-record-detail-row { margin:4px 0;font-size:11px;line-height:18px; }
body.me-redesign #rebateRecordsModal .rebate-record-detail-label { font-size:10px;color:#be91a8 !important; }
body.me-redesign #rebateRecordsModal .rebate-record-detail-value { font-size:11px;color:#e5bcd2 !important; }
body.me-redesign #rebateRecordsModal .rebate-record-highlight { font-size:16px;color:#f7d7e9 !important; }
body.me-redesign #rebateRecordsModal .rebate-empty { padding:25px 12px;border:1px dashed #754057;border-radius:11px;font-size:11px;color:#bd8fa7 !important; }
body.me-redesign #rebateRecordsModal .rebate-load-more-btn { padding:8px 16px;border:1px solid #875069;border-radius:999px;background:#51263c !important;color:#ebc4d9 !important;font-size:11px; }
@media(max-width:359px) { body.me-redesign .reward-team-metric { font-size:9px; } body.me-redesign .reward-team-metric strong { font-size:10px; } body.me-redesign .reward-team-card { padding:8px; } }

body.me-redesign #referralModal .referral-body { display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column; }
body.me-redesign #referralModal .referral-tabs { -webkit-flex-shrink:0;flex-shrink:0; }
body.me-redesign .transfer-modal { width:calc(100% - 32px);max-width:420px;border:1px solid #875069;border-radius:16px;background:#492235 !important; }
body.me-redesign .transfer-modal-header,
body.me-redesign .transfer-modal-body,
body.me-redesign .transfer-modal-footer { background:transparent !important;border-color:#754057 !important; }
body.me-redesign .transfer-modal-title { color:#f3d6e6 !important;font-size:16px; }
body.me-redesign .transfer-modal-close,
body.me-redesign .transfer-form-label,
body.me-redesign .transfer-user-info,
body.me-redesign .deduct-info-row { color:#d6a6be !important; }
body.me-redesign .transfer-amount-input,
body.me-redesign .transfer-password-input { background:#391827 !important;border:1px solid #875069 !important;border-radius:9px;color:#f3d6e6 !important;font-size:16px; }
body.me-redesign .transfer-quick-btn,
body.me-redesign .transfer-cancel-btn { border:1px solid #875069 !important;border-radius:999px;background:#542b41 !important;color:#e6bfd3 !important; }
body.me-redesign .transfer-confirm-btn { border:1px solid #b47a95 !important;border-radius:999px;background:#934c69 !important;color:#fff0f8 !important; }

/* Compact inset invitation copy action and metric-led team list. */
body.me-redesign #referralModal .referral-link-wrapper { position:relative;display:block;height:38px;min-height:38px;padding:0 36px 0 9px;box-sizing:border-box;border-radius:8px; }
body.me-redesign #referralModal .referral-link-input { display:block;width:100%;height:36px;min-height:0;padding:0;margin:0;line-height:36px;box-sizing:border-box; }
body.me-redesign #referralModal #referralCopyBtn { position:absolute;top:50%;right:4px;width:29px;height:32px;margin:-16px 0 0;padding:5px;border:0 !important;border-radius:5px;background:transparent !important;color:#e6b3cb !important;line-height:1; }
body.me-redesign #referralModal #referralCopyBtn svg { display:block;margin:auto; }
body.me-redesign #referralModal .reward-team-rates { display:-webkit-flex;display:flex;padding:8px 10px;margin-bottom:8px;border:1px solid #754057;border-radius:9px;background:#401e30; }
body.me-redesign #referralModal .reward-team-rates > span { -webkit-flex:1;flex:1;font-size:10px;line-height:17px;color:#c598af; }
body.me-redesign #referralModal .reward-team-rates b { margin-left:4px;font-size:10px;font-weight:500; }
body.me-redesign #referralModal .reward-team-list-item { padding:10px;margin-bottom:7px;border:1px solid #754057;border-radius:10px;background:#492235; }
body.me-redesign #referralModal .reward-team-list-title { display:-webkit-flex;display:flex;-webkit-align-items:baseline;align-items:baseline;-webkit-justify-content:space-between;justify-content:space-between;padding-bottom:7px;margin-bottom:7px;border-bottom:1px solid #68364d; }
body.me-redesign #referralModal .reward-team-list-title h3 { margin:0;font-size:12px;font-weight:500;color:#edcddd; }
body.me-redesign #referralModal .reward-team-list-title > div { margin-left:10px;min-width:0;text-align:right; }
body.me-redesign #referralModal .reward-team-list-title span { margin-right:7px;font-size:9px;color:#bf8da5; }
body.me-redesign #referralModal .reward-team-list-title strong { font-size:17px;line-height:23px;color:#ffe1f0;font-weight:600;word-break:break-all; }
body.me-redesign #referralModal .reward-team-list-values { display:-webkit-flex;display:flex; }
body.me-redesign #referralModal .reward-team-list-values > div { -webkit-flex:1;flex:1;min-width:0;text-align:center;padding:0 4px;box-sizing:border-box; }
body.me-redesign #referralModal .reward-team-list-values > div + div { border-left:1px solid #68364d; }
body.me-redesign #referralModal .reward-team-list-values span { display:block;font-size:9px;line-height:16px;color:#bf8da5; }
body.me-redesign #referralModal .reward-team-list-values strong { display:block;font-size:12px;line-height:19px;font-weight:500;color:#e5bcd2;word-break:break-all; }

/* Time controls use native pickers with a consistent compact trigger on older iOS. */
body.me-redesign #referralModal #statsTimeFilter,
body.me-redesign #referralModal #downlineTimeSelect {
    -webkit-appearance:none;appearance:none;
    height:34px;min-height:34px;padding:6px 30px 6px 12px;
    box-sizing:border-box;border:1px solid #9b647e !important;border-radius:999px;
    background-color:#542b41 !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23dfb4cc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat:no-repeat !important;background-position:right 10px center !important;background-size:14px 14px !important;
    font-family:inherit;font-size:12px;line-height:20px;font-weight:500;color:#f1d1e2 !important;
    outline:none;box-shadow:inset 0 1px 0 rgba(255,225,240,.06);cursor:pointer;
}
body.me-redesign #referralModal #statsTimeFilter { width:108px;min-width:108px;margin:0; }
body.me-redesign #referralModal #downlineTimeSelect { width:100%;min-width:0;padding-left:10px; }
body.me-redesign #referralModal #statsTimeFilter:focus,
body.me-redesign #referralModal #downlineTimeSelect:focus { border-color:#d18eae !important;box-shadow:0 0 0 2px rgba(209,142,174,.14); }
body.me-redesign #referralModal #statsTimeFilter option,
body.me-redesign #referralModal #downlineTimeSelect option { background:#492235;color:#f1d1e2; }

/* Single-account withdrawal binding workspace. */
body.me-redesign #withdrawBindModal .withdraw-bind-modal {width:100%;max-width:480px;height:100%;margin:0 auto;background:#371724 !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-header {padding:12px 48px 12px 16px;background:linear-gradient(125deg,#60293f,#411c2e) !important;border-bottom:1px solid #754258;}
body.me-redesign #withdrawBindModal .withdraw-bind-title {text-align:left;font-size:17px;line-height:23px;color:#f5dce9 !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-title small {display:block;font-size:10px;font-weight:400;line-height:16px;color:#c795af;}
body.me-redesign #withdrawBindModal .withdraw-bind-close {background:transparent !important;color:#e7bbcf !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-body {display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;min-height:0;padding:0;overflow:hidden;background:#371724 !important;}
body.me-redesign #withdrawBindModal .bind-account-radio {display:none;}
body.me-redesign #withdrawBindModal .withdraw-bind-tabs {-webkit-flex-shrink:0;flex-shrink:0;margin:12px 12px 0;}
body.me-redesign #withdrawBindModal .withdraw-bind-tabs > label {min-width:67px;padding:8px 7px;font-size:11px;cursor:pointer;}
body.me-redesign #withdrawBindModal .bind-account-panels {-webkit-flex:1;flex:1;min-height:0;padding:14px 12px;overflow-y:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;}
body.me-redesign #withdrawBindModal .bind-account-panels::-webkit-scrollbar {display:none;width:0;}
body.me-redesign #withdrawBindModal .bind-account-intro {display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-between;justify-content:space-between;margin-bottom:14px;padding:0 4px;}
body.me-redesign #withdrawBindModal .bind-account-intro span {font-size:10px;color:#c795af;}
body.me-redesign #withdrawBindModal .bind-account-intro h2 {margin:5px 0 0;font-size:17px;line-height:25px;color:#f5d7e7;}
body.me-redesign #withdrawBindModal .bind-account-intro img {width:58px;height:58px;margin-left:12px;}
body.me-redesign #withdrawBindModal .withdraw-bind-card {display:none;margin:0;padding:15px;border:1px solid #985773;border-radius:17px;background:linear-gradient(125deg,#68324a,#492235) !important;box-shadow:none;}
body.me-redesign #withdrawBindModal #bind-account-usdt:checked ~ .bind-account-panels [data-bind-panel="usdt"],
body.me-redesign #withdrawBindModal #bind-account-bank:checked ~ .bind-account-panels [data-bind-panel="bank"],
body.me-redesign #withdrawBindModal #bind-account-alipay:checked ~ .bind-account-panels [data-bind-panel="alipay"],
body.me-redesign #withdrawBindModal #bind-account-zimu808:checked ~ .bind-account-panels [data-bind-panel="zimu808"],
body.me-redesign #withdrawBindModal #bind-account-ebpay:checked ~ .bind-account-panels [data-bind-panel="ebpay"] {display:block;}
body.me-redesign #withdrawBindModal .withdraw-bind-card-header {padding:0 0 12px;margin-bottom:13px;border-bottom:1px solid #875069;}
body.me-redesign #withdrawBindModal .withdraw-bind-card-icon {width:35px;height:35px;margin-right:9px;padding:0;border:0;border-radius:9px;background:transparent !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-card-icon svg,body.me-redesign #withdrawBindModal .withdraw-bind-card-icon img {width:32px;height:32px;}
body.me-redesign #withdrawBindModal .withdraw-bind-card-title {font-size:14px;color:#f5d7e7 !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-card-content {padding:0;}
body.me-redesign #withdrawBindModal .withdraw-bind-unbound {padding:16px 0 3px;text-align:center;}
body.me-redesign #withdrawBindModal .withdraw-bind-empty-text {margin-bottom:13px;font-size:12px;color:#d1a1b9 !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-add-btn {min-height:38px;padding:9px 20px;border:1px solid #b97c97;border-radius:999px;background:#914964 !important;color:#fff0f8 !important;font-size:12px;}
body.me-redesign #withdrawBindModal .withdraw-bind-bound {-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;align-items:stretch;}
body.me-redesign #withdrawBindModal .withdraw-bind-info-box {padding:11px;margin:0;border:1px solid #875069;border-radius:10px;background:#391827 !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-info-value {font-size:13px;line-height:22px;word-break:break-all;color:#f1cfe1 !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-info-note {margin-top:5px;font-size:10px;line-height:17px;color:#be91a8 !important;}
body.me-redesign #withdrawBindModal .withdraw-bind-status-badge {-webkit-align-self:flex-start;align-self:flex-start;margin:10px 0 0;padding:3px 9px;border:0;border-radius:999px;background:#294b41 !important;color:#9ce0c0 !important;font-size:10px;}
body.me-redesign #withdrawBindModal .withdraw-bind-copy-btn {padding:5px;border:0;border-radius:0;background:transparent !important;color:#e6b3cb !important;}
body.me-redesign #withdrawBindModal .bind-account-footnote {margin:13px 4px 0;font-size:10px;line-height:19px;color:#b7879f;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-modal,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-modal {width:calc(100% - 24px);max-width:440px;max-height:90%;border:1px solid #985773;border-radius:17px;background:#492235 !important;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-header,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-header {padding:13px 45px 13px 15px;background:#5b2d43 !important;border-bottom:1px solid #875069;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-title,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-title {font-size:15px;color:#f5d7e7 !important;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-close,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-close {background:transparent !important;color:#dcb0c7 !important;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-body,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-body {padding:14px;background:#492235 !important;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-group {margin-bottom:12px;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-label,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-label {margin-bottom:6px;font-size:11px;color:#e5bbd0 !important;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-input,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-input {height:41px;padding:9px 11px;border:1px solid #875069 !important;border-radius:9px;background:#391827 !important;color:#f5d7e7 !important;font-size:16px;box-sizing:border-box;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-hint {margin-top:5px;font-size:10px;line-height:17px;color:#b887a0 !important;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-warning,body.me-redesign #withdrawBindFormModal .withdraw-bind-form-notice {padding:8px 10px;margin-bottom:12px;border:0;border-left:2px solid #ad718e;border-radius:0;font-size:10px;line-height:18px;background:#5b3044 !important;color:#d6a5bd !important;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-btn,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-btn {min-height:38px;padding:8px 14px;border:1px solid #a66d88;border-radius:999px;font-size:12px;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-btn-cancel,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-btn-cancel {background:#542b41 !important;color:#d6a5bd !important;}
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-btn-submit,body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-btn-submit {background:#914964 !important;color:#fff0f8 !important;}
body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-text {font-size:12px;color:#d6a5bd !important;}
body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-forgot a {color:#d8a1be !important;}

/* Wallet copy controls match the inset address action. */
body.me-redesign #withdrawBindModal .withdraw-bind-account-row { display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center; }
body.me-redesign #withdrawBindModal .withdraw-bind-account-row .withdraw-bind-info-value { -webkit-flex:1;flex:1;min-width:0; }
body.me-redesign #withdrawBindModal .withdraw-bind-copy-btn { display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;-webkit-flex-shrink:0;flex-shrink:0;width:29px;height:32px;min-width:29px;min-height:32px;margin:0 0 0 5px;padding:5px;border:0 !important;border-radius:5px;background:transparent !important;color:#e6b3cb !important; }
body.me-redesign #withdrawBindModal .withdraw-bind-copy-btn svg { display:block;pointer-events:none; }
/* Cancel the inherited bottom-sheet positioning; use one centering model on all screens. */
body.me-redesign #withdrawBindFormModal.active,
body.me-redesign #withdrawBindPasswordModal.active { display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center; }
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-modal,
body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-modal { position:relative;top:auto;left:auto;right:auto;bottom:auto;margin:0;width:calc(100% - 24px);max-width:440px;max-height:90%;box-sizing:border-box;-webkit-transform:none;transform:none;-webkit-animation:fadeIn .18s ease;animation:fadeIn .18s ease; }
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-body,
body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-body { min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch; }

/* Center the path-based Tether symbol without font-baseline offsets. */
body.me-redesign #withdrawBindModal [data-bind-panel="usdt"] .withdraw-bind-card-icon { display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;-webkit-flex-shrink:0;flex-shrink:0;line-height:0; }
body.me-redesign #withdrawBindModal .bind-usdt-icon { display:block;width:32px;height:32px;margin:0;padding:0; }

/* Matching vector icons for receipt upload and security verification. */
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-upload-icon,
body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-icon,
body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-loading-icon { display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;width:52px;height:52px;margin:0 auto 10px;border:1px solid #a66d88;border-radius:14px;background:#603249 !important;color:#ebbed6 !important;line-height:0; }
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-upload-icon svg,
body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-icon svg,
body.me-redesign #withdrawBindPasswordModal .withdraw-bind-password-loading-icon svg { display:block;width:30px;height:30px; }
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-upload-area { padding:16px 12px;border:1px dashed #a16b84;border-radius:11px;background:#3d1b2c !important; }
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-upload-text { font-size:12px;color:#e8c1d6 !important; }
body.me-redesign #withdrawBindFormModal .withdraw-bind-form-upload-hint { margin-top:5px;font-size:10px;line-height:17px;color:#be91a8 !important; }

body.me-redesign #withdrawBindModal .withdraw-bind-card {position:relative;}
body.me-redesign #withdrawBindModal .withdraw-bind-card-header {padding-right:57px;}
body.me-redesign #withdrawBindModal .withdraw-bind-status-badge {position:absolute;top:17px;right:14px;margin:0;}

body.me-redesign #withdrawBindModal .withdraw-bind-card-content {position:static;}

/* Equal-height, centered VIP and rebate-rate columns. */
body.me-redesign #rebateRecordsModal .rebate-vip-card {-webkit-align-items:stretch;align-items:stretch;}
body.me-redesign #rebateRecordsModal .rebate-vip-item,
body.me-redesign #rebateRecordsModal .rebate-vip-item + .rebate-vip-item {display:-webkit-flex;display:flex;-webkit-flex:1 1 0%;flex:1 1 0%;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;min-width:0;margin:0;padding:0;text-align:center;}
body.me-redesign #rebateRecordsModal .rebate-vip-label {width:100%;margin:0;line-height:18px;}
body.me-redesign #rebateRecordsModal .rebate-vip-value {width:100%;margin:4px 0 0;line-height:24px;}

body.me-redesign #rebateRecordsModal .rebate-vip-card {-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;}
