.bm-dialog.ps-dialog{width:min(540px,calc(100% - 24px));max-width:540px;max-height:calc(100dvh - 24px);padding:22px;color:var(--tx,#493052)}.ps-dialog>h2{font-size:18px;line-height:1.4;margin:0 0 18px;padding-right:35px}.ps-dialog [hidden]{display:none!important}.ps-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;background:#f4eef9;padding:4px;border-radius:14px;margin-bottom:18px}.ps-tabs:has(button:nth-child(2):last-child){grid-template-columns:1fr 1fr}.ps-tabs button{border:0;border-radius:11px;min-height:40px;background:transparent;color:#9a80aa;font:500 12px/1.4 system-ui,sans-serif;padding:8px 3px;cursor:pointer}.ps-tabs button[aria-selected=true]{background:#fff;color:#77449b;box-shadow:0 3px 12px #72468b12}.ps-panel h3{font-size:14px;margin:18px 0 12px}.ps-panel label{font-size:12px;color:#957caa;line-height:1.5;margin:12px 0 6px}.ps-panel input,.ps-panel select,.ps-panel textarea{box-sizing:border-box;min-width:0;width:100%;margin-top:5px;border:1px solid #e9dff2;border-radius:12px;background:#fcfaff;padding:11px;font-size:13px;color:#5a416c}.ps-panel textarea{resize:vertical}.ps-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ps-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 13px;border:1px solid #ece2f5;border-radius:12px;background:#fff;color:#9166ab;font-size:12px;line-height:1.4;cursor:pointer}.ps-button.ps-primary{border-color:transparent;color:#fff;background:linear-gradient(135deg,var(--p,#8d58bd),var(--p2,#aa79cc))}.ps-button.ps-soft{background:#f4edf9;border-color:#f4edf9}.ps-button.ps-danger{background:#fff6f7;border-color:#f4e1e7;color:#b16e85}.ps-button:disabled{opacity:.5;cursor:default}.ps-inline-actions,.ps-gallery-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.ps-inline-actions>.ps-button,.ps-gallery-actions>.ps-button{flex:1}.ps-dialog .ps-note{font-size:11px;line-height:1.6;color:#a38aaf;margin:10px 0}.ps-dialog .ps-status{font-size:11px;line-height:1.5;color:#9a719d;margin-top:10px;min-height:1em}.ps-profile-save{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:18px;padding-top:12px;border-top:1px solid #f1eaf6}.ps-profile-save .ps-status{max-width:45%;margin:0}.ps-profile-save .ps-button{flex:none}.ps-map-button{width:100%;background:#f5eefb;margin-top:6px}.ps-phone-verify{border:0;background:transparent;color:#9c72b4;font-size:11px;padding:9px 0;cursor:pointer}.ps-account-actions{margin-top:20px;padding-top:15px;border-top:1px solid #f1eaf6}.ps-account-actions summary{font-size:11px;color:#b397bc;cursor:pointer}.ps-account-actions .ps-button{margin-top:12px}.ps-file-input{display:none!important}.ps-album{padding:14px;border:1px solid #eee5f6;border-radius:18px;background:#fdfbff}.ps-album-head{display:flex;align-items:center;gap:14px}.ps-current-avatar{padding:0;border:0;background:transparent;border-radius:50%;flex:none;cursor:pointer}.ps-avatar{position:relative;display:inline-grid;place-items:center;width:72px;height:72px;overflow:hidden;border-radius:50%;background:#f0e6fa;color:#aa80c0;font-size:24px}.ps-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ps-avatar-small{width:48px;height:48px;font-size:20px}.ps-album-copy{min-width:0}.ps-album-copy strong,.ps-album-copy small{display:block}.ps-album-copy strong{font-size:13px;color:#705083}.ps-album-copy small{margin-top:4px;color:#aa90b8;font-size:11px;line-height:1.5}.ps-avatar-strip{display:flex;gap:9px;overflow-x:auto;padding:12px 3px 4px;scrollbar-width:thin}.ps-avatar-thumb{position:relative;flex:none;border:2px solid transparent;background:transparent;border-radius:50%;padding:2px;cursor:pointer}.ps-avatar-thumb.is-selected{border-color:#b186d0}.ps-selected-mark{position:absolute;bottom:0;right:0;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#a278c2;color:#fff;font-size:11px;font-style:normal;border:2px solid #fff}.ps-appearance-section{padding:14px;border:1px solid #eee4f5;border-radius:16px;margin-top:12px;background:#fdfaff}.ps-appearance-section h3{margin:0 0 10px}.ps-current-card{font-size:13px;color:#826092}.ps-shop-entry{margin-top:16px}.ps-shop-entry .ps-button{width:100%;margin-top:8px}.ps-style-preview{display:flex;gap:12px;align-items:center;background:#f7f0fb;border-radius:14px;padding:13px}.ps-style-preview strong,.ps-style-preview small{display:block}.ps-style-preview strong{font-size:13px;line-height:1.5;color:#77518c}.ps-style-preview small{font-size:10px;color:#aa8eb8;margin-top:3px}.ps-style-avatar{display:inline-flex;border-radius:50%;flex:none}.ps-style-form>.ps-button{width:100%;margin-top:14px}.ps-level-note{padding:14px;border-radius:14px;background:#faf5fe;color:#a88bb7;font-size:12px;line-height:1.6}.ps-gallery-stage{position:relative;background:#f4eef8;border-radius:17px;overflow:hidden;aspect-ratio:1;touch-action:pan-y}.ps-gallery-stage>img{display:block;width:100%;height:100%;object-fit:contain}.ps-gallery-count{position:absolute;top:10px;left:10px;background:#fffE;color:#94709e;border-radius:12px;padding:5px 9px;font-size:10px}.ps-gallery-prev,.ps-gallery-next{position:absolute;top:calc(50% - 22px);width:36px;height:44px;border:0;background:#fffD;color:#9562b3;border-radius:12px;font-size:25px;cursor:pointer}.ps-gallery-prev{left:8px}.ps-gallery-next{right:8px}.ps-crop-stage{position:relative;width:min(100%,360px);aspect-ratio:1;margin:0 auto;overflow:hidden;border-radius:16px;background:#f0e9f6}.ps-crop-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-4px}.ps-crop-stage canvas:active{cursor:grabbing}.ps-crop-mask{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 200px #1d102c66,inset 0 0 0 1px #ffffffaa;pointer-events:none}.ps-crop-controls{display:flex;gap:8px;margin:13px 0;align-items:center;justify-content:center}.ps-zoom-button{width:42px;flex:none;font-size:18px}.ps-zoom-label{display:block;font-size:11px;color:#a48bae}.ps-zoom-label input[type=range]{accent-color:#a16dc4;width:100%;margin:8px 0;padding:0}.ps-make-current{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:12px;color:#9c7eac}.ps-make-current input{width:17px;height:17px;accent-color:#a176be;margin:0}.ps-crop-save .ps-button{width:100%}.ps-confirm .ps-button{width:100%;margin-top:8px}.ps-button:focus-visible,.ps-tabs button:focus-visible,.ps-avatar-thumb:focus-visible{outline:2px solid #af84cc;outline-offset:3px}
@media(max-width:360px){.bm-dialog.ps-dialog{padding:18px}.ps-field-pair{grid-template-columns:1fr;gap:0}.ps-tabs button{font-size:11px}.ps-profile-save{align-items:stretch;flex-direction:column}.ps-profile-save .ps-status{max-width:100%}.ps-album{padding:11px}}

.ps-dialog .ps-note,.ps-dialog .ps-album-copy small,.ps-dialog .ps-zoom-label{color:#786784}.ps-dialog .ps-button{color:#76508b}.ps-dialog .ps-button.ps-primary{color:#fff}.ps-dialog .ps-button.ps-danger{color:#a65a73}.ps-dialog .ps-level-note{color:#7e6590}

/* Separate level journey: a single wave follows the numbered path on opening. */
.bm-dialog.ps-level-dialog{max-width:440px}.ps-level-panel{min-width:0}.ps-level-dialog .bm-public-level{width:min(270px,100%);margin:0 auto}.ps-level-dialog .bm-public-level-heading{grid-template-columns:minmax(0,1fr) auto}.ps-level-dialog .bm-level-compact-points{text-align:right}
.ps-levels{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin:18px 0}.ps-level-step{position:relative;display:grid;place-items:center;min-width:0;min-height:30px;padding:6px 0;border:1px solid #ece3f4;border-radius:9px;background:#f6f1fa;color:#9d8aaa;font:500 calc(11px * var(--pr-font-factor,1))/1.3 system-ui,sans-serif;cursor:pointer;animation:ps-level-hop .46s ease-out var(--ps-level-delay,0ms) 1 both}.ps-level-step.is-current{background:linear-gradient(135deg,#9365b5,#ae80ce);border-color:#a577c5;color:#fff;box-shadow:0 4px 12px #8f5caf24}.ps-level-step.is-passed{background:#eee3f7;color:#7d5797}.ps-level-step.is-selected{outline:2px solid #bc9ad6;outline-offset:1px}.ps-level-step:focus-visible{outline:2px solid #80509f;outline-offset:3px}.ps-level-feedback{margin:0 0 12px;color:#886596;font-size:13px;line-height:1.5}.ps-level-feedback:empty{display:none}.ps-level-detail{display:grid;gap:14px;padding:0;border:0;background:transparent;margin:0 0 16px;min-width:0}.ps-level-detail h3{margin:0 0 12px;font-size:15px;color:#644879}.ps-level-rule{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 0;font-size:13px;line-height:1.5}.ps-level-rule+.ps-level-rule{border-top:1px solid #eee6f4}.ps-level-rule strong{font-weight:500;color:#775586}.ps-level-rule-state{color:#9881a6}.ps-level-rule.is-complete .ps-level-rule-state{color:#567f62}.ps-level-detail .ps-level-note{margin:8px 0 0;padding:10px 12px;font-size:12px}.ps-level-detail .ps-button{margin-top:6px}.bm-public-level[role=button]{cursor:pointer}.bm-public-level[role=button]:focus-visible{outline:2px solid #a779c5;outline-offset:3px}
@keyframes ps-level-hop{0%,100%{transform:translateY(0)}42%{transform:translateY(-7px)}72%{transform:translateY(1px)}}
@media(prefers-reduced-motion:reduce){.ps-level-step{animation:none}}

.ps-level-subtitle{font-size:13px;font-weight:600;color:#78538a;margin:12px 0 8px}.ps-level-checklist{list-style:none;margin:0;padding:0}.ps-level-checklist li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eee6f4;color:#937e9f;font-size:12px;line-height:1.45}.ps-level-checklist li>span:first-child{min-width:0}.ps-task-count{flex:none;white-space:nowrap}.ps-level-checklist .is-complete{color:#62886e}.ps-level-reward{font-size:12px;line-height:1.5;color:#a18042;margin:9px 0}


.vf-followup{padding:12px;border:1px solid #e8ddf1;background:#faf6ff;border-radius:14px;margin:12px 0}.vf-title{margin:0 0 8px;font-size:14px;color:#79568f}.vf-note{font-size:12px;color:#9b82ab;margin:6px 0}.vf-actions{display:flex;gap:8px;flex-wrap:wrap}.vf-actions .ps-button{flex:1;min-width:120px}

.ps-level-balance{padding:14px 16px;border:1px solid #ece2f3;border-radius:17px;background:#fcf9ff}.ps-level-balance .bm-public-level{width:100%;margin:0}.ps-level-balance .bm-public-level-heading{align-items:baseline;line-height:1.4}.ps-level-balance .bm-public-level-heading>span:first-child{font-size:14px;font-weight:500}.ps-level-balance .bm-level-compact-points{font-size:18px!important;font-weight:600!important;color:#78508f!important}.ps-level-conditions.beauty-faq{margin:0;padding:0 14px}.ps-level-conditions>summary{line-height:1.45;padding:10px 0;min-height:48px}.ps-level-conditions .ps-level-checklist{margin:0 0 12px}.ps-level-reward-card,.ps-level-completed{padding:16px;border:1px solid #ece2f3;border-radius:17px;background:#fcf9ff;min-width:0}.ps-level-reward-card{background:linear-gradient(135deg,#fffdf7,#fcf8ff);border-color:#e9dec5}.ps-level-reward-card h3{margin:0 0 10px}.ps-level-prize{display:block;font-size:20px;line-height:1.4;color:#a37e3e;font-weight:600}.ps-level-vip-bonus{margin:8px 0 0;font-size:12px;line-height:1.5;color:#9b83a5}.ps-level-faq.beauty-faq{margin-top:0}

/* Progress, rewards and earning rules share one compact gradient studio. */
.bm-dialog.ps-level-dialog{background:radial-gradient(ellipse at 100% 0,#f1e3fb 0,transparent 48%),#fff;box-shadow:0 24px 72px #38204a24}.ps-level-dialog .ps-level-balance{position:relative;overflow:hidden;padding:20px;border:1px solid #d5b7df;border-radius:22px;background:radial-gradient(ellipse at 100% 0,#d6a2cf80,transparent 65%),linear-gradient(125deg,#533270,#8a54b4 65%,#ae71bc);box-shadow:0 10px 26px #8050aa24;color:#fff}.ps-level-dialog .ps-level-balance .bm-public-level{width:100%;color:#fff}.ps-level-balance .ps-level-eyebrow{margin:0 0 16px;color:#eee0fa;font-size:12px;letter-spacing:.04em}.ps-level-dialog .ps-level-balance .bm-public-level-heading>span{color:#fff}.ps-level-dialog .ps-level-balance .bm-level-compact-points{font-size:26px!important;color:#fff!important;letter-spacing:-.03em}.ps-level-dialog .ps-level-balance .bm-public-level-track{height:5px;background:#ffffff30;margin-top:13px}.ps-level-dialog .ps-level-balance .bm-public-level-track>span{background:linear-gradient(90deg,#fff4d2,#e4bcf4);opacity:1}.ps-level-next{margin:12px 0 0;font-size:12px;line-height:1.5;color:#f4e9fc}.ps-level-daily{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.ps-level-daily>span{padding:5px 9px;border:1px solid #ffffff28;border-radius:99px;background:#ffffff16;font-size:10px;color:#fff}.ps-level-dialog .ps-level-conditions{background:linear-gradient(120deg,#fcf9ff,#f7f0fc);border-color:#e8dbf1;border-radius:18px}.ps-level-reward-card{position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 0,#edcf9360,transparent 65%),linear-gradient(120deg,#fffcf4,#f7ecfd);border-color:#ead9b9}.ps-level-reward-card h3{font-size:12px;font-weight:500;color:#947443}.ps-level-prize{font-size:24px;color:#80602b}.ps-level-dialog .ps-earning-rules,.ps-level-dialog .ps-level-benefits,.ps-level-dialog .ps-level-faq{margin:12px 0 0;border:1px solid #e9def1;border-radius:18px;background:linear-gradient(135deg,#fff,#fbf6ff)}.ps-earning-rules>summary,.ps-level-benefits>summary{font-weight:600;color:#634477;min-height:48px}.ps-earning-list{padding:0 0 8px}.ps-earning-rule{display:flex;align-items:flex-start;gap:14px;padding:13px 0;border-top:1px solid #eee5f5;min-width:0}.ps-earning-copy{min-width:0;flex:1}.ps-earning-copy strong{font-size:12px;font-weight:600;color:#634777;line-height:1.5}.ps-earning-copy p{margin:5px 0 0!important;font-size:11px!important;line-height:1.55;color:#8e7a9b}.ps-earning-points{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:49px;padding:6px 8px;border-radius:11px;background:linear-gradient(125deg,#efe1fd,#faeaf2);color:#8646af;font-size:15px;font-weight:650;white-space:nowrap}.ps-level-benefits p{font-size:11px;line-height:1.6;color:#8c7899}.ps-benefits-table-wrap{max-width:100%;overflow-x:auto}.ps-level-benefits table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}.ps-level-benefits th{font-size:10px;font-weight:500;color:#a08aad;padding:8px 4px}.ps-level-benefits td{padding:9px 4px;border-top:1px solid #eee4f5;color:#7d5c91;white-space:nowrap}.ps-level-benefits tr.is-current td{background:#f1e4fc;font-weight:650}.ps-level-dialog .ps-level-conditions summary{font-size:13px}.ps-level-dialog .ps-level-checklist li{font-size:12px}@media(max-width:360px){.ps-level-dialog .ps-level-balance{padding:16px}.ps-level-dialog .ps-level-balance .bm-level-compact-points{font-size:23px!important}.ps-earning-rule{gap:9px}}

button.ps-profile-level-entry{display:block;box-sizing:border-box;width:min(270px,100%);min-height:44px;margin:9px auto 2px;padding:10px 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;-webkit-appearance:none;appearance:none}button.ps-profile-level-entry .bm-public-level{width:100%;margin:0;pointer-events:none}button.ps-profile-level-entry:focus-visible{outline:2px solid #ae83c5;outline-offset:3px;border-radius:10px}button.ps-profile-level-entry:active{opacity:.8}

/* The level gift is a compact set of three rewards. */
.ps-level-reward-card .ps-reward-list{display:grid;gap:9px}.ps-reward-item{display:flex;align-items:center;gap:12px;min-width:0;padding:13px;border:1px solid #eadcc7;border-radius:15px;background:linear-gradient(120deg,#fffcf5,#faf0de)}.ps-reward-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;color:#a07832;background:linear-gradient(135deg,#fff6d9,#ead5a5);box-shadow:inset 0 1px 0 #ffffffb3}.ps-reward-icon svg{display:block;width:25px;height:25px}.ps-reward-copy{flex:1;min-width:0}.ps-reward-title,.ps-reward-item .ps-level-prize{display:block;margin:0;font-size:14px;line-height:1.45;font-weight:650;overflow-wrap:anywhere}.ps-reward-item .ps-level-vip-bonus{margin:5px 0 0;font-size:11px;line-height:1.5;color:#9a8361}.ps-reward-theme{border-color:#e7d8f2;background:linear-gradient(120deg,#fcf8ff,#f1e6fa);color:#7f509b}.ps-reward-theme .ps-reward-icon{background:linear-gradient(135deg,#f4eaff,#dfc9f0);color:#9362b4}.ps-reward-box{border-color:#eed7e4;background:linear-gradient(120deg,#fff8fc,#f7e6f0);color:#a26086}.ps-reward-box .ps-reward-icon{background:linear-gradient(135deg,#ffeef7,#ecc7dd);color:#b86b94}.ps-reward-status{display:inline-block;margin-top:5px;padding:2px 7px;border:1px solid #d7b6cb;border-radius:99px;color:#97617f;background:#fff9fc;font-size:10px;line-height:1.4}@media(max-width:360px){.ps-reward-item{padding:11px;gap:10px}.ps-reward-icon{flex-basis:36px;width:36px;height:36px}.ps-reward-title,.ps-reward-item .ps-level-prize{font-size:13px}}

/* Current-stage tasks and nested purchase confirmation fit narrow MAX windows. */
.ps-task-copy{min-width:0;flex:1;overflow-wrap:anywhere}
.ps-task-alternative{font-size:.9em;margin:5px 0;color:var(--muted,#81758e)}
.ps-task-buy{display:block;min-height:36px;padding:6px 10px;margin-top:7px;font-size:.85em}
.ps-level-checklist .ps-task-count{max-width:42%;white-space:normal;text-align:right;overflow-wrap:anywhere}
