/* Account center redesign: fixed mobile width, legacy iOS spacing. */
body.me-redesign { background: #34111e; background: linear-gradient(160deg,#5b2536,#32101e 62%); color: #f4e1e9; }
body.me-redesign .main-content { background: transparent; }
body.me-redesign #me { display: block; padding: 20px 16px 28px; }
body.me-redesign .me-page-heading { margin: 0 0 24px; }
body.me-redesign .me-section-eyebrow { color: #c88ca2; font-size: 10px; letter-spacing: 1.8px; font-weight: 600; }
body.me-redesign .me-page-heading h1 { margin: 7px 0; color: #fff0f6; font-size: 27px; font-weight: 600; letter-spacing: 1px; }
body.me-redesign .me-page-heading p { margin: 0; color: #bc8b9d; font-size: 11px; }
body.me-redesign .me-user-card { padding: 0; margin: 0 0 22px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body.me-redesign .me-user-info { margin: 0 0 22px; padding: 0; display: block; }
body.me-redesign .me-user-left { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; width: 100%; }
body.me-redesign .me-avatar-container { -webkit-flex: 0 0 64px; flex: 0 0 64px; width: 64px; height: 64px; margin: 0 16px 0 0; padding: 0; border: 0; border-radius: 20px; background: transparent; box-shadow: none; }
body.me-redesign .me-avatar-wrapper { width: 64px; height: 64px; margin: 0; padding: 0; background: transparent; box-shadow: none; -webkit-transform: none; transform: none; }
body.me-redesign .avatar-overlay { position: static; width: 64px; height: 64px; -webkit-transform: none; transform: none; border: 0; border-radius: 20px; background: #8e405c; box-shadow: none; overflow: hidden; }
body.me-redesign .avatar-text { display: block; width: 64px; height: 64px; font-size: 25px; line-height: 64px; text-align: center; color: #ffeaf2; background: transparent; }
body.me-redesign .avatar-text img { border-radius: 20px !important; }
body.me-redesign .me-user-details { -webkit-flex: 1 1 0%; flex: 1 1 0%; min-width: 0; margin: 0; }
body.me-redesign .me-user-info-top { margin: 0; }
body.me-redesign .me-user-row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 4px 0; }
body.me-redesign .me-user-label { color: #bd8fa2; font-size: 11px; }
body.me-redesign .me-user-value { color: #f6e2ec; font-size: 14px; font-weight: 600; }
body.me-redesign #userName { font-size: 20px; letter-spacing: .5px; }
body.me-redesign .account-toggle-icon { margin-left: 8px; color: #c888a1; font-size: 14px; }
body.me-redesign .user-level-badge { margin-left: 8px; padding: 2px 6px; border-radius: 5px; border: 1px solid #92526c; background: #653047 !important; color: #f2c4d6 !important; box-shadow: none; font-size: 9px; }
body.me-redesign .level-shine { display: none; }
body.me-redesign .me-wallet-panel { padding: 20px; margin-bottom: 16px; border: 1px solid #ab5e7c; border-radius: 20px; background: #79344f; background: linear-gradient(130deg,#99506a,#662940); box-shadow: 0 8px 18px rgba(43,10,26,.22); }
body.me-redesign .me-wallet-panel .me-section-eyebrow { color: #e4b3c8; font-size: 10px; letter-spacing: 1.3px; }
body.me-redesign .me-balance-row { position: relative; width: 100%; margin: 12px 0 19px; padding: 0; border: 0; background: transparent; }
body.me-redesign .me-balance-row .me-user-label { display: none; }
body.me-redesign #userBalance { font-size: 34px; line-height: 1.2; font-weight: 600; color: #fff0f6; letter-spacing: 1px; }
body.me-redesign .me-refresh-btn { margin-left: 10px; padding: 5px; color: #edc5d6; background: transparent; border: 0; }
body.me-redesign .me-wallet-actions { display: -webkit-flex; display: flex; }
body.me-redesign .me-wallet-actions .me-action-item { display: -webkit-flex; display: flex; -webkit-flex: 1 1 0%; flex: 1 1 0%; -webkit-flex-direction: row; flex-direction: row; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; width: auto; min-height: 42px; margin: 0; padding: 8px; border: 1px solid #ce8ba5; border-radius: 11px; background: rgba(255,229,241,.1); }
body.me-redesign .me-wallet-actions .me-action-item + .me-action-item { margin-left: 12px; }
body.me-redesign .me-wallet-actions .me-action-icon { width: 22px; height: 22px; margin: 0 7px 0 0; padding: 0; background: transparent; border: 0; }
body.me-redesign .me-wallet-actions .me-action-icon svg { width: 22px; height: 22px; }
body.me-redesign .me-wallet-actions .me-action-text { font-size: 13px; color: #ffeaf3; }
body.me-redesign .me-vip-progress-section { margin: 0; padding: 16px; border: 1px solid #774154; border-radius: 16px; background: #442032; box-shadow: none; }
body.me-redesign .me-vip-header-inline { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 12px; }
body.me-redesign .me-vip-info-item { margin: 0 6px 4px 0; }
body.me-redesign .me-vip-label, body.me-redesign .me-vip-progress-text { color: #cda4b5; font-size: 10px; }
body.me-redesign .me-vip-level, body.me-redesign .me-vip-amount { color: #f2ccd9; font-size: 12px; }
body.me-redesign .me-vip-progress-container { margin: 0; }
body.me-redesign .me-vip-progress-bar { height: 5px; border-radius: 5px; background: #622c42; }
body.me-redesign .me-vip-progress-fill { height: 100%; background: linear-gradient(90deg,#c37a96,#efb3cb); box-shadow: none; }
body.me-redesign .me-vip-progress-text { margin-top: 9px; }
body.me-redesign .me-daily-salary-container { padding: 12px 0 0; margin-top: 12px; border-top: 1px solid #764255; background: transparent; box-shadow: none; }
body.me-redesign .me-daily-salary-content { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; }
body.me-redesign .me-daily-salary-info { color: #d798b1; }
body.me-redesign .me-daily-salary-label { color: #cca0b3; font-size: 11px; }
body.me-redesign .me-daily-salary-amount { color: #f7d7e5; font-size: 17px; }
body.me-redesign .me-daily-salary-btn { padding: 7px 12px; border: 1px solid #b46f8a; border-radius: 8px; background: #8c405c; color: #ffeaf3; font-size: 11px; }
body.me-redesign .me-services-heading { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; margin: 20px 0 12px; color: #f1dbe5; font-size: 16px; }
body.me-redesign .me-services-heading small { color: #ad7d92; font-size: 10px; }
body.me-redesign .me-quick-actions { display: block; margin: 0 -5px; padding: 0; border: 0; background: transparent; font-size: 0; }
body.me-redesign .me-quick-actions .me-action-item { position: relative; display: inline-block; vertical-align: top; width: calc(50% - 10px); min-height: 82px; box-sizing: border-box; margin: 0 5px 10px; padding: 14px 12px; border: 1px solid #744052; border-radius: 14px; background: #482032; text-align: left; box-shadow: none; }
body.me-redesign .me-quick-actions .me-action-item::after { content: '\203a'; position: absolute; right: 12px; top: 29px; color: #ab718a; font-size: 20px; }
body.me-redesign .me-quick-actions .me-action-icon { display: inline-block; vertical-align: middle; width: 31px; height: 31px; margin: 9px 8px 9px 0; padding: 6px; box-sizing: border-box; border-radius: 9px; background: #683248; color: #e4a5bf; }
body.me-redesign .me-quick-actions .me-action-icon svg { width: 19px; height: 19px; }
body.me-redesign .me-action-text { display: inline-block; vertical-align: middle; font-size: 12px; color: #ead2dd; }
body.me-redesign .me-action-item:active { opacity: .8; -webkit-transform: none; transform: none; }
body.me-redesign .me-not-logged-in { padding: 18px; border: 1px solid #86445e; border-radius: 18px; background: #4e2135; }
body.me-redesign .me-not-logged-in .form-submit { background: #93455f; border-radius: 10px; color: #ffeaf3; }
/* Matching surfaces for the retained settings and membership dialogs. */
body.me-redesign .settings-modal, body.me-redesign .password-modal, body.me-redesign .selection-modal, body.me-redesign .birthday-modal, body.me-redesign .vip-modal { background: #401a2b !important; color: #f4dfeb; border-color: #8a4b63 !important; }
body.me-redesign .settings-item { background: #52273c !important; border-color: #78455b !important; border-radius: 12px; }
body.me-redesign .settings-item-label, body.me-redesign .settings-modal-title, body.me-redesign .vip-modal-title { color: #f4dfe9 !important; }
body.me-redesign .settings-item-value, body.me-redesign .settings-item-icon, body.me-redesign .settings-item-arrow, body.me-redesign .settings-close-btn { color: #d1a0b5 !important; }
body.me-redesign .settings-avatar-display { background: #8d4560; color: #ffeaf3; box-shadow: none; border: 0; }
body.me-redesign .settings-modal-header, body.me-redesign .vip-modal-header { border-color: #754056; }
@media (max-width: 360px) {
    body.me-redesign #me { padding-left: 12px; padding-right: 12px; }
    body.me-redesign .me-user-left { -webkit-flex-direction: row; flex-direction: row; }
    body.me-redesign .me-quick-actions .me-action-item { padding-left: 9px; padding-right: 9px; }
    body.me-redesign .me-quick-actions .me-action-icon { margin-right: 5px; }
    body.me-redesign .me-action-text { font-size: 11px; }
}

body.me-redesign .me-user-info .me-user-left { margin: 0; padding: 0; }
body.me-redesign .me-wallet-actions .me-action-icon { color: #f2c9da; }
body.me-redesign .me-daily-salary-info svg { color: #e4a5bf; }
body.me-redesign .user-level-badge { box-shadow: none !important; text-shadow: none; }
body.me-redesign .user-level-badge::before, body.me-redesign .user-level-badge::after { display: none; }

/* Second layout: open profile, glass wallet, colourful service dock. */
body.me-redesign { background: #371522; background: radial-gradient(ellipse at 0 0,#683047 0,#3b1727 48%,#2f1321 100%); }
body.me-redesign #me { padding-top: 18px; }
body.me-redesign .me-page-heading { margin-bottom: 22px; }
body.me-redesign .me-page-heading h1 { font-size: 25px; letter-spacing: .5px; margin: 6px 0; }
body.me-redesign .me-page-heading p { font-size: 11px; color: #c299aa; }
body.me-redesign .me-user-info { margin-bottom: 20px; }
body.me-redesign .me-avatar-container,
body.me-redesign .me-avatar-wrapper,
body.me-redesign .avatar-overlay,
body.me-redesign .avatar-text { width: 62px; height: 62px; border-radius: 50%; }
body.me-redesign .me-avatar-container { -webkit-flex-basis: 62px; flex-basis: 62px; margin-right: 14px; }
body.me-redesign .avatar-overlay { background: linear-gradient(135deg,#b66986,#78394f); border: 2px solid #d594ac; box-sizing: border-box; }
body.me-redesign .avatar-text { line-height: 58px; width: 58px; height: 58px; font-size: 26px; }
body.me-redesign .avatar-text img { border-radius: 50% !important; }
body.me-redesign #userName { font-size: 19px; }
body.me-redesign .account-toggle-icon {
    display: inline-block; width: 30px; height: 30px; min-width: 30px;
    margin-left: 6px; padding: 5px; border: 0; border-radius: 8px;
    background: rgba(240,189,213,.06); color: #e5b9cd; vertical-align: middle;
}
body.me-redesign .account-toggle-icon svg { display: block; width: 20px; height: 20px; }
body.me-redesign .account-toggle-icon .me-eye-slash { display: none; }
body.me-redesign .account-toggle-icon[aria-pressed="true"] .me-eye-slash { display: block; }
body.me-redesign .me-wallet-panel {
    position: relative; padding: 20px 18px 16px; margin-bottom: 16px;
    border: 1px solid rgba(231,172,197,.4); border-radius: 22px;
    background: #754255;
    background: linear-gradient(120deg,rgba(190,121,148,.45),rgba(118,59,83,.55));
    box-shadow: inset 0 1px 1px rgba(255,235,246,.1),0 8px 20px rgba(36,8,23,.12);
}
body.me-redesign .me-wallet-panel .me-section-eyebrow { color: #efd2df; font-size: 12px; letter-spacing: .4px; }
body.me-redesign .me-wallet-currency { float: right; font-size: 10px; letter-spacing: 1px; color: #d3a1b6; }
body.me-redesign .me-balance-row { -webkit-flex-wrap: nowrap; flex-wrap: nowrap; margin: 12px 0 20px; }
body.me-redesign #userBalance { min-width: 0; font-size: 32px; color: #fff1f7; }
body.me-redesign #refreshBtn {
    display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
    -webkit-flex: 0 0 auto; flex: 0 0 auto; margin-left: auto; min-height: 32px;
    padding: 6px 9px; border: 1px solid rgba(230,185,205,.3); border-radius: 999px;
    background: rgba(241,203,221,.09); color: #f0d1df; cursor: pointer;
}
body.me-redesign #refreshBtn svg { display: block; width: 14px; height: 14px; }
body.me-redesign #refreshBtn span { margin-left: 5px; font-size: 10px; line-height: 16px; }
body.me-redesign #refreshBtn.refreshing svg { -webkit-animation: spin .6s linear infinite; animation: spin .6s linear infinite; }
body.me-redesign .me-wallet-actions .me-action-item { min-height: 46px; background: rgba(255,234,245,.06); border-color: rgba(239,192,215,.24); border-radius: 13px; }
body.me-redesign .me-wallet-actions .me-action-icon { width: 29px; height: 29px; margin-right: 7px; padding: 0; }
body.me-redesign .me-wallet-actions .me-action-icon svg { width: 29px; height: 29px; }
body.me-redesign .me-wallet-actions .me-action-text { font-size: 14px; font-weight: 600; }
body.me-redesign .me-vip-progress-section {
    position: relative; padding: 16px 18px; margin: 0 0 10px;
    border: 1px solid #87506a; border-radius: 18px;
    background: linear-gradient(120deg,#543047,#3f263e);
}
body.me-redesign .me-vip-level { color: #e4b8e6; font-size: 15px; font-weight: 700; }
body.me-redesign .me-vip-label { color: #cba5bd; }
body.me-redesign .me-vip-header-inline { margin-bottom: 8px; }
body.me-redesign .me-vip-progress-bar { background: #754260; height: 5px; }
body.me-redesign .me-vip-progress-fill { background: linear-gradient(90deg,#ca8cc5,#f0bdd8); }
body.me-redesign .me-vip-progress-text { color: #c7a0b8; font-size: 10px; text-align: left; }
body.me-redesign .me-daily-salary-container {
    width: 100%; min-width: 0; margin: 0; padding: 14px 16px;
    border: 1px solid #7d4563; border-radius: 16px;
    background: linear-gradient(110deg,#522a43,#452439); box-shadow: none; box-sizing: border-box;
}
body.me-redesign .me-daily-salary-content { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
body.me-redesign .me-daily-salary-info { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; min-width: 0; }
body.me-redesign .me-benefit-gift { width: 36px; height: 36px; margin-right: 10px; -webkit-flex: 0 0 36px; flex: 0 0 36px; }
body.me-redesign .me-daily-salary-label { font-size: 11px; line-height: 16px; color: #d4abc0; }
body.me-redesign .me-daily-salary-amount { font-size: 19px; line-height: 24px; color: #f7e2ef; }
body.me-redesign .me-daily-salary-btn {
    -webkit-flex: 0 0 auto; flex: 0 0 auto; padding: 8px 14px; margin-left: auto;
    border: 1px solid #b87e9b; border-radius: 999px;
    background: #995171; color: #ffeaf4; box-shadow: none; font-size: 11px;
}
body.me-redesign .me-services-heading { margin: 22px 2px 13px; font-weight: 600; }
body.me-redesign .me-services-heading small { color: #ba8ea4; font-weight: 400; }
body.me-redesign .me-quick-actions {
    padding: 8px 4px; margin: 0; border: 1px solid #75425a; border-radius: 20px;
    background: rgba(107,57,80,.3); box-sizing: border-box;
}
body.me-redesign .me-quick-actions .me-action-item {
    width: 33.333333%; min-height: 96px; margin: 0; padding: 13px 3px 10px;
    background: transparent; border: 0; border-radius: 0; text-align: center;
}
body.me-redesign .me-quick-actions .me-action-item::after { display: none; }
body.me-redesign .me-quick-actions .me-action-icon {
    display: block; width: 40px; height: 40px; margin: 0 auto 8px; padding: 0;
    background: transparent; border: 0; border-radius: 0;
}
body.me-redesign .me-quick-actions .me-action-icon svg { display: block; width: 40px; height: 40px; }
body.me-redesign .me-quick-actions .me-action-text { display: block; color: #ecd5e1; font-size: 12px; line-height: 18px; }
@media (max-width: 360px) {
    body.me-redesign #userBalance { font-size: 28px; }
    body.me-redesign .me-wallet-panel { padding-left: 14px; padding-right: 14px; }
    body.me-redesign #refreshBtn { padding: 6px; }
}

body.me-redesign #refreshBtn {
    width: auto; min-width: 60px; height: 32px;
    -webkit-justify-content: center; justify-content: center;
}
body.me-redesign #refreshBtn svg { -webkit-flex: 0 0 14px; flex: 0 0 14px; }
body.me-redesign #refreshBtn span { white-space: nowrap; }

/* Profile refinement: compact wallet controls and independent service cards. */
body.me-redesign #me { padding-top: 24px; }
body.me-redesign .account-toggle-icon { background: transparent; border: 0; box-shadow: none; padding: 5px; }
body.me-redesign #refreshBtn {
    width: 28px; min-width: 28px; height: 30px; min-height: 30px;
    margin: 0 0 0 7px; padding: 5px; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; color: #f4d8e6;
}
body.me-redesign #refreshBtn svg { width: 17px; height: 17px; -webkit-flex-basis: 17px; flex-basis: 17px; }
body.me-redesign .me-wallet-records {
    display: -webkit-flex; display: flex;
    margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(224,172,196,.18);
}
body.me-redesign .me-wallet-records .me-action-item {
    display: -webkit-flex; display: flex; -webkit-flex: 1 1 0%; flex: 1 1 0%;
    -webkit-flex-direction: row; flex-direction: row; -webkit-align-items: center; align-items: center;
    -webkit-justify-content: center; justify-content: center;
    width: auto; margin: 0; padding: 3px; border: 0; background: transparent; box-shadow: none;
}
body.me-redesign .me-wallet-records .me-action-item + .me-action-item { border-left: 1px solid rgba(224,172,196,.18); }
body.me-redesign .me-wallet-records .me-action-icon { width: 25px; height: 25px; padding: 0; margin: 0 7px 0 0; background: transparent; }
body.me-redesign .me-wallet-records .me-action-icon svg { display: block; width: 25px; height: 25px; }
body.me-redesign .me-wallet-records .me-action-text { font-size: 12px; color: #f2dce7; }
body.me-redesign .me-quick-actions { padding: 0; margin: 0 -5px; border: 0; border-radius: 0; background: transparent; }
body.me-redesign .me-quick-actions .me-action-item {
    width: calc(50% - 10px); min-height: 95px; margin: 0 5px 10px; padding: 15px 12px;
    border: 1px solid rgba(195,129,159,.3); border-radius: 16px;
    background: linear-gradient(130deg,rgba(123,63,89,.45),rgba(77,37,61,.45)); text-align: left;
}
body.me-redesign .me-quick-actions .me-action-icon { display: inline-block; vertical-align: middle; width: 38px; height: 38px; margin: 11px 10px 11px 0; }
body.me-redesign .me-quick-actions .me-action-icon svg { width: 38px; height: 38px; }
body.me-redesign .me-quick-actions .me-action-text { display: inline-block; vertical-align: middle; font-size: 13px; }
/* Gem-like silver/lilac shield, contrasting with the wine surfaces. */
body.me-redesign .me-vip-progress-section {
    position: relative; overflow: hidden; padding: 18px 16px 16px 86px;
    border: 1px solid #a77caa; border-radius: 19px;
    background: #4c2a45; background: linear-gradient(125deg,#694065,#45243d 72%);
    box-shadow: inset 0 1px 1px rgba(244,209,238,.16);
}
body.me-redesign .me-vip-emblem { position: absolute; top: 24px; left: 16px; width: 52px; height: 60px; }
body.me-redesign .me-vip-emblem svg { display: block; width: 100%; height: 100%; }
body.me-redesign .me-vip-header-inline { display: block; margin: 0 0 10px; }
body.me-redesign .me-vip-info-item { margin: 0 0 4px; }
body.me-redesign .me-vip-info-item:first-child .me-vip-label { display: none; }
body.me-redesign .me-vip-level { font-size: 23px; line-height: 28px; letter-spacing: 1px; color: #f4daf0; text-shadow: 0 1px 2px #643f65; }
body.me-redesign .me-vip-progress-container { padding: 0; }
body.me-redesign .me-vip-progress-bar { background: #805477; }
body.me-redesign .me-vip-progress-fill { background: linear-gradient(90deg,#bd8bd0,#f0c5e3); }
@media (max-width: 360px) {
    body.me-redesign .me-quick-actions .me-action-item { padding-left: 9px; padding-right: 7px; }
    body.me-redesign .me-quick-actions .me-action-icon { margin-right: 6px; width: 32px; height: 32px; }
    body.me-redesign .me-quick-actions .me-action-icon svg { width: 32px; height: 32px; }
    body.me-redesign .me-quick-actions .me-action-text { font-size: 12px; }
}

body.me-redesign #refreshBtn svg { color: #f4d8e6; }

/* Reference-based account hierarchy: profile / VIP-wallet / promos / list. */
body.me-redesign #me { padding: 16px 12px 28px; }
body.me-redesign .me-reference-profile { position: relative; padding: 5px 24px 5px 2px; margin-bottom: 24px; }
body.me-redesign .me-reference-profile .me-avatar-container,
body.me-redesign .me-reference-profile .me-avatar-wrapper,
body.me-redesign .me-reference-profile .avatar-overlay { width: 74px; height: 74px; border-radius: 50%; }
body.me-redesign .me-reference-profile .me-avatar-container { -webkit-flex: 0 0 74px; flex: 0 0 74px; margin-right: 14px; }
body.me-redesign .me-reference-profile .avatar-text { width: 70px; height: 70px; line-height: 70px; }
body.me-redesign .me-reference-profile .me-user-details { min-width: 0; }
body.me-redesign .me-profile-settings-arrow { position: absolute; right: 0; top: 25px; width: 22px; height: 32px; padding: 0; border: 0; background: transparent; color: #efd4e2; font-size: 30px; line-height: 30px; }
body.me-redesign .me-account-dashboard { overflow: hidden; border: 1px solid #875069; border-radius: 24px; background: #4b2639; }
body.me-redesign .me-account-dashboard .me-vip-progress-section {
    margin: 0; padding: 16px 42px 14px 80px; border: 0; border-radius: 0;
    background: #a76a87; background: linear-gradient(110deg,#c98ba5,#b17391 42%,#925775);
    box-shadow: none;
}
body.me-redesign .me-vip-banner-title { font-size: 17px; line-height: 23px; font-weight: 700; color: #fff1f8; margin-bottom: 5px; }
body.me-redesign .me-account-dashboard .me-vip-emblem { left: 16px; top: 19px; width: 48px; height: 57px; }
body.me-redesign .me-vip-details-arrow { position: absolute; right: 12px; top: 24px; width: 25px; height: 34px; border: 1px solid rgba(255,231,246,.35); border-radius: 9px; background: rgba(255,230,244,.13); color: #fff1f7; font-size: 27px; line-height: 28px; padding: 0; }
body.me-redesign .me-account-dashboard .me-vip-header-inline { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 6px; }
body.me-redesign .me-account-dashboard .me-vip-info-item { margin: 0 7px 0 0; }
body.me-redesign .me-account-dashboard .me-vip-level { font-size: 12px; line-height: 18px; letter-spacing: 0; color: #fff1f8; }
body.me-redesign .me-account-dashboard .me-vip-label, body.me-redesign .me-account-dashboard .me-vip-amount { font-size: 9px; color: #f3d4e4; }
body.me-redesign .me-account-dashboard .me-vip-progress-bar { height: 3px; background: #965d7b; }
body.me-redesign .me-account-dashboard .me-vip-progress-text { margin-top: 5px; font-size: 9px; line-height: 14px; color: #f4d9e7; }
body.me-redesign .me-dashboard-wallet { padding: 15px 14px 0; }
body.me-redesign .me-dashboard-wallet .me-balance-row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin: 0 0 17px; }
body.me-redesign .me-dashboard-wallet .me-balance-row .me-user-label { display: block; -webkit-order: 0; order: 0; font-size: 13px; color: #e6c4d6; }
body.me-redesign .me-dashboard-wallet #refreshBtn { -webkit-order: 1; order: 1; margin-left: 4px; }
body.me-redesign .me-dashboard-wallet #userBalance { -webkit-order: 2; order: 2; margin-left: auto; font-size: 25px; letter-spacing: .3px; }
body.me-redesign .me-dashboard-shortcuts { display: block; font-size: 0; margin: 0 -4px 15px; }
body.me-redesign .me-dashboard-shortcuts .me-action-item {
    display: inline-block; vertical-align: top; width: 25%; margin: 0; padding: 0 2px;
    box-sizing: border-box; background: transparent; border: 0; text-align: center; box-shadow: none;
}
body.me-redesign .me-dashboard-shortcuts .me-action-icon {
    display: block; width: 48px; height: 48px; padding: 7px; box-sizing: border-box; margin: 0 auto 7px;
    border: 1px solid rgba(219,161,189,.45); border-radius: 15px;
    background: linear-gradient(135deg,rgba(192,117,152,.17),rgba(71,33,54,.3));
}
body.me-redesign .me-dashboard-shortcuts .me-action-icon svg { display: block; width: 34px; height: 34px; }
body.me-redesign .me-dashboard-shortcuts .me-action-text { display: block; color: #f0d8e5; font-size: 11px; line-height: 18px; }
body.me-redesign .me-dashboard-wallet .me-daily-salary-container {
    width: auto; margin: 0 -14px; padding: 11px 14px; border: 0; border-top: 1px solid #6d3c54; border-radius: 0;
    background: rgba(145,77,109,.13);
}
body.me-redesign .me-dashboard-wallet .me-benefit-gift { width: 30px; height: 30px; -webkit-flex-basis: 30px; flex-basis: 30px; }
body.me-redesign .me-dashboard-wallet .me-daily-salary-amount { font-size: 16px; line-height: 20px; }
body.me-redesign .me-dashboard-wallet .me-daily-salary-label { font-size: 10px; line-height: 14px; }
body.me-redesign .me-dashboard-wallet .me-daily-salary-btn { padding: 6px 12px; }
body.me-redesign .me-reference-promos { font-size: 0; margin: 16px -4px; }
body.me-redesign .me-reference-promos .me-action-item {
    position: relative; display: inline-block; vertical-align: top; width: calc(50% - 8px); height: 92px;
    margin: 0 4px; padding: 18px 8px 14px 55px; box-sizing: border-box; overflow: hidden;
    border: 1px solid #af718d; border-radius: 17px;
    background: linear-gradient(120deg,#ad6484,#793f61); text-align: left; box-shadow: none;
}
body.me-redesign .me-reference-promos .me-action-item:nth-child(2) { border-color: #9e7cac; background: linear-gradient(120deg,#976aab,#694366); }
body.me-redesign .me-reference-promos .me-action-icon { position: absolute; left: 10px; top: 25px; width: 37px; height: 37px; padding: 0; margin: 0; background: transparent; }
body.me-redesign .me-reference-promos .me-action-icon svg { display: block; width: 37px; height: 37px; }
body.me-redesign .me-reference-promos .me-action-text { display: block; margin: 3px 0 6px; color: #fff1f7; font-size: 17px; line-height: 22px; font-weight: 600; white-space: nowrap; }
body.me-redesign .me-promo-subtitle { display: block; color: #efd1e2; font-size: 9px; line-height: 14px; }
body.me-redesign .me-reference-menu { margin: 0; padding: 0 15px; border: 1px solid #7e4861; border-radius: 19px; background: #4a2639; }
body.me-redesign .me-reference-menu .me-action-item,
body.me-redesign .me-reference-menu .me-support-entry {
    position: relative; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
    width: 100%; min-height: 63px; margin: 0; padding: 10px 22px 10px 0; box-sizing: border-box;
    border: 0; border-radius: 0; border-bottom: 1px solid #693b51; background: transparent; box-shadow: none; text-align: left;
}
body.me-redesign .me-reference-menu > :last-child { border-bottom: 0; }
body.me-redesign .me-reference-menu .me-action-icon,
body.me-redesign .me-support-entry-icon { display: block; width: 31px; height: 31px; margin: 0 13px 0 0; padding: 0; background: transparent; }
body.me-redesign .me-reference-menu .me-action-icon svg { display: block; width: 31px; height: 31px; }
body.me-redesign .me-reference-menu .me-action-text,
body.me-redesign .me-support-entry > span:last-child { font-size: 14px; color: #f0dbe5; }
body.me-redesign .me-support-entry-icon { font-size: 27px; text-align: center; line-height: 31px; color: #e2b1cd; }
body.me-redesign .me-reference-menu a::after { content: '\203a'; position: absolute; right: 0; top: 21px; color: #cf9cb7; font-size: 24px; line-height: 24px; }
@media (max-width: 360px) {
    body.me-redesign .me-vip-banner-title { font-size: 15px; }
    body.me-redesign .me-reference-promos .me-action-item { padding-left: 46px; }
    body.me-redesign .me-reference-promos .me-action-icon { left: 7px; width: 32px; height: 32px; }
    body.me-redesign .me-reference-promos .me-action-icon svg { width: 32px; height: 32px; }
    body.me-redesign .me-reference-promos .me-action-text { font-size: 15px; }
}

body.me-redesign .me-reference-menu .me-action-item,
body.me-redesign .me-reference-menu .me-support-entry {
    -webkit-flex-direction: row; flex-direction: row;
    -webkit-justify-content: flex-start; justify-content: flex-start;
}
body.me-redesign .me-reference-menu .me-action-icon { -webkit-flex: 0 0 31px; flex: 0 0 31px; }
body.me-redesign .me-reference-menu .me-action-text { display: block; }

/* One continuous page canvas, including the area below the content. */
html { background: #371522; }
body.home-page.me-redesign {
    background: #371522;
    background-image: none;
    background-attachment: scroll;
    min-height: 100%;
}
body.home-page.me-redesign .main-content,
body.home-page.me-redesign #me {
    background: transparent;
    background-image: none;
    box-shadow: none;
}

/* Matching soft-3D asset set, exported at 256 x 256 each. */
body.me-redesign .me-action-icon img,
body.me-redesign .me-support-entry-icon img,
body.me-redesign .me-vip-emblem img { display: block; width: 100%; height: 100%; margin: 0; }
body.me-redesign .me-dashboard-shortcuts .me-action-icon {
    width: 50px; height: 50px; padding: 0; border: 0; background: transparent;
}
body.me-redesign .me-vip-emblem { width: 53px !important; height: 53px !important; }
body.me-redesign .avatar-text {
    font-size: 0;
    background: #78394f url('/img/me-ui/default-avatar.png') center center no-repeat;
    background-size: 86% 86%;
}
body.me-redesign .avatar-text img { display: block; }

/* Center the default/user avatar independently of inherited text alignment. */
body.me-redesign .me-reference-profile .avatar-overlay {
    position: static; display: -webkit-flex; display: flex;
    -webkit-align-items: center; align-items: center;
    -webkit-justify-content: center; justify-content: center;
    padding: 0; -webkit-transform: none; transform: none;
}
body.me-redesign .me-reference-profile .avatar-text {
    position: static; display: block; width: 100%; height: 100%;
    margin: 0; padding: 0; line-height: 1; box-sizing: border-box;
    background-position: center center; background-size: 86% 86%;
    -webkit-transform: none; transform: none;
}
body.me-redesign .me-reference-profile .avatar-text img { margin: 0; }
/* More compact wallet and promotional panels. */
body.me-redesign .me-dashboard-wallet { padding-top: 11px; }
body.me-redesign .me-dashboard-wallet .me-balance-row { margin-bottom: 11px; }
body.me-redesign .me-dashboard-shortcuts { margin-bottom: 10px; }
body.me-redesign .me-dashboard-shortcuts .me-action-icon { width: 43px; height: 43px; margin-bottom: 4px; }
body.me-redesign .me-dashboard-wallet .me-daily-salary-container { padding-top: 8px; padding-bottom: 8px; }
body.me-redesign .me-reference-promos { margin-top: 12px; margin-bottom: 12px; }
body.me-redesign .me-reference-promos .me-action-item { height: 74px; padding-top: 11px; padding-bottom: 8px; }
body.me-redesign .me-reference-promos .me-action-icon { top: 18px; }
body.me-redesign .me-reference-promos .me-action-text { margin-top: 1px; margin-bottom: 4px; }
/* One consistent burgundy settings panel with square-edged rows. */
body.me-redesign #settingsModal .settings-modal { background: #401a2b !important; border-color: #875069 !important; }
body.me-redesign #settingsModal .settings-modal-header { background: #512338; border-bottom: 1px solid #784259; }
body.me-redesign #settingsModal .settings-title { color: #f5dfe9; }
body.me-redesign #settingsModal .settings-modal-body,
body.me-redesign #settingsModal .settings-list { background: #401a2b; }
body.me-redesign #settingsModal .settings-item {
    border-radius: 0; background: transparent !important;
    border-bottom: 1px solid #6c384e !important; box-shadow: none;
}
body.me-redesign #settingsModal .settings-item:hover,
body.me-redesign #settingsModal .settings-item:active { background: #582a40 !important; }
body.me-redesign #settingsModal .settings-close-btn { background: transparent; border: 0; }
body.me-redesign #settingsModal .settings-close-btn svg,
body.me-redesign #settingsModal .settings-item-arrow { color: #d3a0b7; }
body.me-redesign #settingsModal .settings-item-label { color: #f0d7e4 !important; }
body.me-redesign #settingsModal .settings-item-value { color: #c596ab !important; }
body.me-redesign #settingsModal .settings-item-icon { background: #71344f; color: #e8b3cd; }
body.me-redesign #settingsModal .settings-avatar-display { background: #87465f; }
body.me-redesign #settingsModal .settings-logout-item { color: #e6a5bb; }

/* Compact membership crest beside the invitation code. */
body.me-redesign #userLevelBadge {
    display: inline-flex;
    display: -webkit-inline-flex;
    -webkit-align-items: center;
    align-items: center;
    margin-left: 7px;
    padding: 1px 7px 1px 2px;
    border: 1px solid #bb8ba9;
    border-radius: 5px 10px 10px 5px;
    background: #69425e !important;
    background: linear-gradient(120deg,#946483,#57374f) !important;
    box-shadow: inset 0 1px 1px rgba(255,228,246,.15) !important;
    vertical-align: middle;
}
body.me-redesign #userLevelBadge .me-member-badge-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 3px;
    -webkit-flex: 0 0 24px;
    flex: 0 0 24px;
}
body.me-redesign #userLevelBadge .level-text {
    color: #f7e1ef;
    font-size: 9px;
    line-height: 17px;
    font-weight: 600;
    letter-spacing: .3px;
}

/* Guest entry aligns to the same page edges as the signed-in account. */
body.me-redesign .me-not-logged-in {width:100%;box-sizing:border-box;padding:21px 18px 18px;margin:0;border:1px solid #875069;border-radius:15px;overflow:hidden;text-align:left;background:linear-gradient(135deg,#653047,#492235);box-shadow:none;}
body.me-redesign .me-guest-profile {display:block;margin-bottom:19px;}
body.me-redesign .me-guest-profile > span {font-size:10px;line-height:17px;color:#c99ab2;letter-spacing:1px;}
body.me-redesign .me-guest-profile h2 {margin:5px 0 7px;font-size:22px;line-height:29px;font-weight:600;color:#ffe7f3;}
body.me-redesign .me-guest-profile p {margin:0;font-size:11px;line-height:18px;color:#cea0b7;}
body.me-redesign .me-guest-actions {display:-webkit-flex;display:flex;margin:0;}
body.me-redesign .me-guest-actions button {-webkit-flex:1;flex:1;min-width:0;min-height:39px;padding:9px 10px;box-sizing:border-box;border:1px solid #a56d88;border-radius:9px;font-family:inherit;font-size:12px;cursor:pointer;}
body.me-redesign .me-guest-login {background:#a35978;color:#fff0f8;}
body.me-redesign .me-guest-register {margin-left:9px;background:#482135;color:#e3b8cf;}
