/* Full-width personal header and grouped list rows. */
.me-panel{background:#f0f1f3;padding:30px 32px 36px}
.me-panel .me-content{max-width:680px;margin:0 auto}
.me-root-title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.me-panel .me-profile{display:flex;align-items:center;gap:20px;width:100%;margin:0 0 12px;padding:42px 28px 34px;border:0;border-radius:0;background:#fff;box-shadow:none;text-align:left}
.me-panel .me-profile>.avatar{width:68px;height:68px;border-radius:9px;font-size:27px;flex:none;cursor:inherit}
.me-panel .me-profile-copy{gap:5px;min-width:0}
.me-panel .me-profile-copy>strong{display:flex;align-items:center;gap:7px;font-size:22px;line-height:1.4;font-weight:600;color:#24282d;overflow-wrap:anywhere}
.me-panel .me-account{font-size:13px;line-height:1.6;color:#858b94;overflow-wrap:anywhere}
.me-panel .me-bio{font-size:12px;line-height:1.7;color:#848c97;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.me-panel .me-bio.is-empty{color:#a1a6ae}
.me-panel .me-menu-group{margin:0 0 10px;border:0;border-radius:0;overflow:hidden;background:#fff}
.me-panel .me-menu-row{position:relative;min-height:57px;padding:15px 24px;gap:16px;border:0;border-radius:0;background:#fff;color:#30353d}
.me-panel .me-menu-group>.me-menu-row+.me-menu-row{border-top:0}
.me-panel .me-menu-group>.me-menu-row+.me-menu-row::before{content:'';position:absolute;left:64px;right:0;top:0;height:1px;background:#edf0f2}
.me-panel .me-menu-icon{width:24px;height:24px;flex:none;border-radius:0;background:none;color:#515b68}
.me-panel .me-menu-icon svg{width:23px;height:23px;stroke-width:1.6}
.me-panel .me-menu-copy{gap:0}
.me-panel .me-menu-copy strong{font-size:var(--menu-title-size,15px);line-height:1.5;font-weight:500;color:inherit}
.me-panel .me-chevron{width:16px;height:16px;flex:none;transform:rotate(180deg);color:#b1b6bf;stroke-width:1.5}
.me-panel .me-profile>.me-chevron{margin-left:4px}
.me-panel .me-profile:hover,.me-panel .me-menu-row:hover,.me-signout:hover{background:#fafbfc}
.me-panel .me-profile:active,.me-panel .me-menu-row:active,.me-signout:active{background:#f1f2f4}
.me-settings-heading{height:64px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;padding:0 12px;background:#f0f1f3;position:sticky;top:0;z-index:1}
.me-settings-heading h1{grid-column:2;font-size:var(--page-title-size,19px);font-weight:600;text-align:center;margin:0;color:#24282d}
.me-settings-heading>.icon-button{width:36px;height:36px;padding:7px;color:#515b68}
.me-signout{display:block;width:100%;min-height:54px;background:#fff;border:0;border-radius:0;color:#b65561;font-size:15px;font-weight:500;cursor:pointer;margin-top:22px}
.me-panel .me-version{text-align:center;font-size:11px;line-height:1.8;color:#a0a5ad;margin:24px 16px 0}
.me-panel [hidden]{display:none!important}
@media(max-width:759px),(max-height:500px) and (pointer:coarse){
 .me-panel{width:100%;padding:0 0 calc(76px + var(--safe-bottom));background:#f0f1f3}
 .me-panel .me-content{max-width:none;margin:0}
 .me-panel .me-profile{padding:calc(52px + env(safe-area-inset-top,0px)) 24px 34px;gap:18px;margin-bottom:10px}
 .me-panel .me-profile>.avatar{width:64px;height:64px;border-radius:9px;font-size:26px}
 .me-panel .me-profile-copy>strong{font-size:21px}
 .me-panel .me-menu-row{padding:15px 24px;min-height:56px}
 .me-settings-heading{height:calc(60px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}
}
@media(max-width:350px){.me-panel .me-profile{padding-left:20px;padding-right:20px;gap:14px}.me-panel .me-profile>.avatar{width:60px;height:60px}.me-panel .me-profile-copy>strong{font-size:20px}.me-panel .me-menu-row{padding-left:20px;padding-right:20px}}

.me-subpage{min-height:100%}
.me-subpage-body{padding:22px 24px 30px;background:#fff;min-height:250px;min-width:0;overflow-wrap:anywhere}
.me-subpage-body.notification-settings{min-height:0;margin-top:10px;padding:0 20px}
.me-subpage-body.notification-settings>.menu-row{min-height:56px;padding:16px 0;border-bottom:0;font-size:14px}
.me-subpage-body p{font-size:12px;color:#929aa6;line-height:1.9}
.me-subpage-body label.field{display:block;color:#747d8a;font-size:12px;margin-bottom:20px}
.me-subpage-body label.field input,.me-subpage-body label.field textarea,.me-subpage-body select{display:block;width:100%;margin-top:9px;padding:11px 12px;border:1px solid #dfe2e8;border-radius:8px;background:#fafafb;color:#424a57;outline:0;min-width:0;font:inherit}
.me-subpage-body textarea{resize:vertical;min-height:90px}
.me-subpage-body input:focus,.me-subpage-body textarea:focus{border-color:#999fab}
.me-subpage-body .button-row{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:20px}
#mePageTitle:focus{outline:0}
@media(max-width:759px),(max-height:500px) and (pointer:coarse){
 .in-me-page .rail{display:none}
 .in-me-page .me-panel{padding-bottom:env(safe-area-inset-bottom,0px)}
 .me-subpage-body{padding:22px 20px 30px}
 .me-subpage-body label.field input,.me-subpage-body label.field textarea,.me-subpage-body select{font-size:16px}
}

#meSettingsTitle:focus{outline:0}

/* Sound preferences use compact rows and one preview action. */
.me-subpage-body.sound-settings-page{min-height:0;margin-top:10px;padding:0;background:transparent}
.sound-settings{display:flex;flex-direction:column;gap:10px;max-width:560px;margin:0 auto;color:#30353d}
.sound-settings .sound-option-group,.sound-settings .sound-tone-group,.sound-settings .sound-volume-group{min-width:0;background:#fff;border:1px solid #e7e9ee;border-radius:8px;overflow:hidden}
.sound-settings .sound-option-group>.menu-row{min-height:56px;padding:16px 20px;border:0;font-size:14px;color:#30353d}
.sound-settings .sound-tone-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;margin:0 20px;font-size:14px}
.sound-settings .sound-tone-row>span{flex:none}
.sound-settings .sound-tone-row>select{flex:0 1 auto;width:auto;max-width:65%;min-width:0;margin:0;padding:10px 22px 10px 4px;border:0;border-radius:0;background:transparent;color:#7e8794;font:inherit;text-align:left;text-align-last:left;cursor:pointer;outline-offset:-2px}
.sound-settings .sound-tone-row>select option{text-align:left}
.sound-settings .sound-volume{display:flex;flex-direction:column;gap:8px;margin:0;padding:17px 20px 10px;color:#30353d}
.sound-settings .sound-volume-heading{font-size:14px;line-height:20px}
.sound-settings .sound-volume output{color:#7e8794;font-size:13px}
.sound-settings .sound-volume input{appearance:none;-webkit-appearance:none;width:100%;height:32px;margin:0;padding:0;border:0;background:transparent;cursor:pointer}
.sound-settings .sound-volume input::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:#dce0e6}
.sound-settings .sound-volume input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin-top:-8px;border:2px solid #fff;border-radius:50%;background:#343a44;box-shadow:0 1px 4px #30353d30}
.sound-settings .sound-volume input::-moz-range-track{height:4px;border-radius:2px;background:#dce0e6}
.sound-settings .sound-volume input::-moz-range-thumb{width:16px;height:16px;border:2px solid #fff;border-radius:50%;background:#343a44;box-shadow:0 1px 4px #30353d30}
.sound-settings .sound-actions{display:flex;flex-direction:column;gap:0;margin:0;padding:0}
.sound-settings .sound-preview{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin:0;padding:13px 20px;border:1px solid #e7e9ee;border-radius:8px;background:#fff;color:#30353d;font-size:14px;font-weight:500}
.sound-settings .sound-preview::before{content:'\25B6';font-size:11px;color:#626d7b}
.sound-settings .sound-preview:hover{background:#fafbfc}
.sound-settings .sound-play-status{min-height:0;margin:8px 20px 0;font-size:12px;line-height:1.7;text-align:center;color:#8a929e}
.sound-settings .sound-play-status:empty{display:none}
.me-subpage-body .sound-settings .sound-option-group,.me-subpage-body .sound-settings .sound-tone-group,.me-subpage-body .sound-settings .sound-volume-group,.me-subpage-body .sound-settings .sound-preview{border:0;border-radius:0}

.login-devices-note{font-size:12px!important;line-height:1.8!important;color:#929baa!important;margin:0 0 18px}.login-device-legacy{font-size:11px;font-weight:400;color:#929aaa;background:#f3f4f6;border-radius:4px;padding:2px 6px}

.me-email-value{display:block;max-width:100%;font-size:12px;color:#909aaa;margin-top:5px;overflow-wrap:anywhere}.desktop-settings-email{margin-left:auto;font-size:12px;color:#909aaa;overflow-wrap:anywhere;text-align:right}.account-email-current{display:grid;gap:10px;padding:18px 0;border-bottom:1px solid #e7eaf0}.account-email-current>span,.account-email-current>small{font-size:12px;color:#909aaa}.account-email-current>strong{font-size:15px;font-weight:500;overflow-wrap:anywhere}.account-email-form .task-field{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:13px;color:#758193}.account-email-form .task-field[hidden]{display:none!important}.account-email-form input{box-sizing:border-box;width:100%;min-width:0;padding:11px 12px;border:1px solid #dfe4ec;border-radius:8px;background:#fff;font:inherit;color:#303741}.account-email-form .task-actions{display:flex;gap:10px;flex-wrap:wrap}.account-email-page .section-note{font-size:12px;line-height:1.8;color:#909aaa;overflow-wrap:anywhere}@media(max-width:759px){.account-email-form input{font-size:16px}}

.account-email-page{width:100%;max-width:520px;margin:0 auto;box-sizing:border-box}.account-email-current{padding:18px 20px;border:1px solid #e7eaf0;border-radius:12px;background:#f8f9fb;gap:12px}.account-email-current-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#8b95a3}.account-email-current>strong{font-size:16px;line-height:1.6}.account-email-badge{font-size:11px;line-height:1.5;color:#648476;background:#edf4f0;padding:3px 8px;border-radius:5px;white-space:nowrap}.account-email-form{margin-top:24px}.account-email-form .task-field{margin:18px 0;gap:9px;color:#738091}.account-email-form input{height:44px;border-radius:9px}.account-email-codes{margin-top:26px;padding-top:18px;border-top:1px solid #edf0f3}.account-email-code-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#667384;font-size:13px}.account-email-code-head>button{border:0;background:transparent;box-shadow:none;color:#5c718b;padding:6px 0;min-height:32px;font-size:12px}.account-email-code-head>button:disabled{color:#aeb6c0}.account-email-codes .task-field input{letter-spacing:4px;font-variant-numeric:tabular-nums}.account-email-codes .task-field input::placeholder{letter-spacing:0}.account-email-form .section-note:empty,.account-email-form .error:empty{display:none}.account-email-form .task-actions{justify-content:center;margin-top:28px}.account-email-form .task-actions>button{width:196px;min-height:44px;border-radius:9px}.account-email-footer{text-align:center;font-size:11px;color:#a0a8b3;line-height:1.8;margin:10px 0 0}.me-email-row>.me-menu-copy{flex:0 0 auto}.me-email-row>.me-email-value{flex:1;min-width:0;margin:0 4px 0 18px;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#929caa}.desktop-settings-email{max-width:70%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.account-email-code-head>button{width:auto;min-width:0;max-width:100%;flex:0 0 auto;margin:0;white-space:nowrap}.account-email-code-head>button:disabled{opacity:1;color:#a8b1be;background:transparent}

.push-diagnostics{padding:16px 0 8px;border-top:1px solid #e7eaf0}.push-diagnostics h2{margin:0 0 16px;font-size:14px;font-weight:600}.push-status-list{margin:0}.push-status-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;font-size:13px}.push-status-row dt{color:#8190a3}.push-status-row dd{margin:0;text-align:right;color:#303640}.push-diagnostics-note,.push-test-result{margin:14px 0;color:#8190a3;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.push-diagnostics-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.push-diagnostics-actions>button{min-height:42px;padding:10px 14px}.push-diagnostics button:disabled{opacity:.45;cursor:default}

/* Personal page: a quiet profile header and compact grouped rows. */
.me-panel{background:#ededed}.me-panel .me-content{max-width:640px}
.me-panel .me-home{padding-bottom:24px}
.me-panel .me-profile{padding:36px 24px 32px;gap:18px;margin-bottom:9px}
.me-panel .me-profile>.avatar{width:64px;height:64px;border-radius:9px}
.me-panel .me-profile-copy>strong{font-size:22px;font-weight:600;line-height:1.45;letter-spacing:.2px}
.me-panel .me-account{color:#888;font-size:13px}.me-panel .me-bio{margin-top:2px;color:#999;font-size:12px;-webkit-line-clamp:1}
.me-panel .me-menu-group{margin-bottom:9px;background:#fff}
.me-panel .me-menu-row{display:flex;align-items:center;width:100%;min-height:56px;padding:15px 20px;gap:16px;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .12s ease}
.me-panel .me-menu-copy{flex:1;min-width:0}.me-panel .me-menu-copy strong{font-size:var(--mobile-action-size,16px);font-weight:400;line-height:26px;color:#202124}
.me-panel .me-menu-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:#60758e}
.me-panel .me-menu-icon svg{width:22px;height:22px;stroke-width:1.7}
.me-panel .me-menu-row[data-menu=bookmark] .me-menu-icon{color:#d6a245}
.me-panel .me-menu-row[data-menu=gift] .me-menu-icon{color:#d17b60}
.me-panel .me-menu-row[data-menu=install] .me-menu-icon{color:#668873}
.me-panel .me-menu-row[data-menu=settings] .me-menu-icon{color:#707a88}
.me-panel .me-menu-group>.me-menu-row+.me-menu-row:before{left:60px;background:#eee}
.me-panel .me-chevron{width:15px;height:15px;color:#b8b8b8}.me-panel .me-profile>.me-chevron{margin-left:auto}
.me-settings-heading{background:#ededed}.me-panel .me-version{letter-spacing:0;font-size:12px;color:#aaa}
.me-panel .me-menu-row:active,.me-panel .me-profile:active{background:#e5e5e5}
.me-panel .me-menu-row:focus-visible,.me-panel .me-profile:focus-visible{outline:2px solid #9aa9b7;outline-offset:-3px}
@media(max-width:759px),(max-height:500px) and (pointer:coarse){
 .me-panel{padding:0 0 calc(76px + var(--safe-bottom));background:#ededed}
 .me-panel .me-profile{padding:calc(48px + env(safe-area-inset-top,0px)) 24px 34px}
 .me-panel .me-profile-copy>strong{font-size:22px}.me-panel .me-menu-row{padding:15px 20px}
 .me-panel .me-content{max-width:none}.me-panel .me-home{min-height:100%}
}
@media(max-width:350px){.me-panel .me-profile{padding-left:20px;padding-right:20px;gap:15px}.me-panel .me-profile-copy>strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.me-panel .me-menu-row{transition:none}}

/* Shared list treatment for personal tools. */
.me-subpage-body.wechat-list-page{min-height:calc(100dvh - 64px);padding:10px 0 32px;background:#ededed;color:#202124}
.wechat-list-page button{font-family:inherit}.wechat-list-page .wechat-empty{display:flex;align-items:center;justify-content:center;min-height:280px;margin:0;padding:40px 24px;font-size:14px;line-height:1.7;color:#aaa;text-align:center;font-weight:400}
.wechat-list-page>.secondary{display:block;width:100%;min-height:52px;border:0;border-radius:0;background:white;color:#292d35;font-size:14px}
.wechat-list-page .switch{width:44px;height:26px;background:#dedede}.wechat-list-page .switch:after{width:22px;height:22px;top:2px;left:2px}.wechat-list-page .switch:checked{background:#292d35}.wechat-list-page .switch:checked:after{transform:translateX(18px)}
.me-subpage-body.notification-settings.wechat-list-page{padding:10px 0 32px;margin:0;background:#ededed}
.me-subpage-body.notification-settings.wechat-list-page>.menu-row{padding:16px 20px;margin:0 0 10px;min-height:58px;background:white;font-size:16px;color:#202124}
.wechat-list-page .push-test-group{margin:0 20px 10px}.wechat-list-page .push-test-group>.primary{width:100%}
.wechat-list-page .push-diagnostics{padding:0;margin:0 0 10px;border:0;background:white}
.push-diagnostics-heading{display:flex;align-items:center;gap:12px;min-height:56px;padding:15px 20px;list-style:none;color:#202124;font-size:16px;cursor:pointer;-webkit-tap-highlight-color:transparent}.push-diagnostics-heading::-webkit-details-marker{display:none}.push-diagnostics-heading:after{content:'';width:7px;height:7px;border-right:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;transform:rotate(45deg)}
.push-diagnostics[open]>.push-diagnostics-heading:after{transform:rotate(225deg)}.push-diagnostics-health{margin-left:auto;font-size:14px;color:#999}
.push-diagnostics-body{padding:0 20px 4px}.wechat-list-page .push-status-row{min-height:50px;border-top:1px solid #eee;font-size:14px}.wechat-list-page .push-status-row dt{color:#777}.wechat-list-page .push-status-row dd{color:#666}
.wechat-list-page .push-diagnostics-actions{display:flex;gap:0;margin:10px -20px -4px;border-top:1px solid #eee}.wechat-list-page .push-diagnostics-actions>button{flex:1;min-height:52px;padding:14px;border:0;border-radius:0;background:white;color:#292d35;font-size:14px}.wechat-list-page .push-diagnostics-actions>button+button{border-left:1px solid #eee}
.wechat-list-page .push-diagnostics-note{margin:12px 0 16px;font-size:12px;color:#999;line-height:1.7}.wechat-list-page>.push-test-result{padding:0 20px;margin:14px 0;color:#888;font-size:12px;line-height:1.7}
.wechat-list-page .sound-settings{max-width:none;gap:10px}.wechat-list-page .sound-option-group,.wechat-list-page .sound-tone-group,.wechat-list-page .sound-volume-group{border:0;border-radius:0}
.wechat-list-page .sound-settings .sound-option-group>.menu-row{min-height:58px;font-size:16px;padding:16px 20px}.wechat-list-page .sound-tone-row{min-height:58px;font-size:16px}.wechat-list-page .sound-tone-row>select{font-size:14px;color:#999;max-width:60%}.wechat-list-page .sound-volume{padding:18px 20px 14px;gap:14px}.wechat-list-page .sound-volume-heading{display:flex;justify-content:space-between;align-items:center;font-size:16px}.wechat-list-page .sound-volume output{font-size:14px;color:#999}
.wechat-list-page .sound-volume input::-webkit-slider-runnable-track{height:3px;background:#d8d8d8}.wechat-list-page .sound-volume input::-webkit-slider-thumb{width:25px;height:25px;margin-top:-11px;background:#fff;border:1px solid #eee;box-shadow:0 1px 4px #0002}.wechat-list-page .sound-volume input::-moz-range-thumb{width:24px;height:24px;background:#fff;border:1px solid #eee}.wechat-list-page .sound-volume input::-moz-range-progress{background:#292d35}
.wechat-list-page .sound-settings .sound-preview{min-height:56px;color:#292d35;font-size:16px;font-weight:400}.wechat-list-page .sound-preview:before{content:none}.wechat-list-page .sound-play-status{font-size:12px;color:#999}
.wechat-favorites .favorite-tabs{display:flex;gap:0;margin:-10px 0 10px;background:#fff;border-bottom:1px solid #e7e7e7}.wechat-favorites .favorite-tabs>button{position:relative;flex:1;min-height:52px;border:0;border-radius:0;background:transparent;color:#888;font-size:15px;font-weight:400;padding:14px 12px}.wechat-favorites .favorite-tabs>button[aria-pressed=true]{color:#292d35;font-weight:500;background:transparent}.wechat-favorites .favorite-tabs>button[aria-pressed=true]:after{content:'';position:absolute;bottom:0;left:calc(50% - 12px);width:24px;height:3px;border-radius:2px;background:#292d35}
.wechat-favorites .favorite-card{padding:18px 20px 10px;margin:0 0 10px;border:0;border-radius:0;background:white}.favorite-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#999}.favorite-meta>strong{font-weight:400;overflow-wrap:anywhere}.favorite-meta>time{white-space:nowrap;flex:none}.wechat-favorites .favorite-body{font-size:16px;line-height:1.65;color:#202124;margin:12px 0 8px}.wechat-favorites .favorite-image img{border-radius:3px;max-height:180px}.wechat-favorites .favorite-card>.text-button{min-height:40px;padding:10px 0;margin:4px 24px 0 0;border:0;border-radius:0;background:transparent;color:#292d35;font-size:13px}.wechat-favorites .favorite-card>.text-button:last-child{color:#999}
.wechat-safety .safety-list-row{gap:13px;min-height:78px;padding:14px 20px;border-bottom:1px solid #eee;background:white}.safety-person-avatar{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none;border-radius:6px;background:#f0f0f0;color:#999;font-size:20px}.wechat-safety .safety-list-row>div{flex:1;min-width:0}.wechat-safety .safety-list-row strong{font-size:16px;font-weight:400;color:#202124;overflow-wrap:anywhere}.wechat-safety .safety-list-row .safety-note{margin:4px 0 0;font-size:12px;color:#999}.wechat-safety .safety-list-row>button{padding:8px 0 8px 12px;background:transparent;color:#292d35;border:0;min-height:40px;font-size:14px}
.wechat-safety .safety-report-card{padding:20px;margin:0 0 10px;background:#fff;border:0}.wechat-safety .safety-report-card>strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}.wechat-safety .safety-report-state{float:right;margin:3px 0 6px 14px;font-size:12px;color:#999}.wechat-safety .safety-report-card[data-status=resolved] .safety-report-state{color:#292d35}.wechat-safety .safety-report-body{font-size:14px;line-height:1.8;color:#333;clear:both}.wechat-safety .safety-report-outcome{margin-bottom:0;padding-top:12px;border-top:1px solid #eee;color:#666;font-size:13px;line-height:1.8}.wechat-safety .safety-report-card>.safety-note{font-size:12px;color:#999}
.wechat-list-page button:active,.push-diagnostics-heading:active{background:#e5e5e5}.wechat-list-page button:focus-visible,.push-diagnostics-heading:focus-visible{outline:2px solid #9aa9b7;outline-offset:-3px}

.official-visibility-settings{max-width:640px}.official-visibility-settings>.menu-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;border-bottom:1px solid var(--line)}.official-visibility-settings>.menu-row>.switch{flex:none}.official-visibility-settings>.primary{min-width:96px;margin-top:16px}.official-visibility-settings .switch:checked{background:#292d35}

.personal-invite-auth{padding:14px 16px;margin:14px 0 20px;background:#f5f6f8;border-radius:8px}.personal-invite-auth>p{font-size:13px;line-height:1.8;margin:0;color:#525861}.personal-invite-auth>.text-button{margin-top:8px;color:#92969d;font-size:12px;border:0;background:transparent}.personal-invite-retry{padding:12px 18px;border-bottom:1px solid #e7e8eb;background:#f5f6f8;flex:none}.personal-invite-retry>p{margin:0 0 8px;font-size:12px;line-height:1.7;color:#737b86}.personal-invite-retry>button{margin-right:10px;font-size:12px}.personal-invite-retry>.text-button{border:0;background:transparent;color:#92969d}.personal-invite-auth[hidden],.personal-invite-retry[hidden]{display:none!important}

.friend-alert-banner{position:fixed;z-index:1600;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(440px,calc(100vw - 24px));display:flex;align-items:center;gap:12px;padding:16px;background:#fff;border:1px solid #e7e8eb;border-radius:10px;box-shadow:0 8px 30px #24272d1c;color:#292d35}.friend-alert-banner>div{flex:1;min-width:0}.friend-alert-banner strong{font-size:14px;font-weight:600}.friend-alert-banner p{font-size:13px;line-height:1.6;margin:5px 0 0;overflow-wrap:anywhere;color:#737b86}.friend-alert-banner>.primary{flex:none;min-height:40px;padding:8px 14px;background:#292d35;border:0;border-radius:8px;color:white;font:inherit;font-size:13px}.friend-alert-close{flex:none;width:32px;height:40px;padding:0;border:0;background:transparent;color:#92969d;font-size:22px}.friend-alert-banner button:focus-visible{outline:2px solid #929da9;outline-offset:2px}@media(max-width:350px){.friend-alert-banner{gap:8px;padding:12px}.friend-alert-banner>.primary{padding:8px 10px}}


/* Selected WeChat grouping: independent profile and QR actions. */
.me-panel .me-profile-header{display:flex;align-items:center;gap:10px;padding:34px 24px 32px;margin:0 0 12px;background:#fff}
.me-panel .me-profile-header>.me-profile{flex:1;min-width:0;width:auto;padding:0;margin:0;gap:17px;box-shadow:none;background:transparent}
.me-panel .me-profile-header .me-profile-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.me-panel .me-profile-header .me-profile-copy>strong{flex-wrap:wrap}
.me-panel .me-profile-header .me-bio{font-size:12px;line-height:1.7;-webkit-line-clamp:2;margin-top:5px;color:#858b94}
.me-panel .me-profile-qr{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;white-space:nowrap;min-height:44px;min-width:44px;flex:none;padding:0;border:0;background:transparent;color:#92979f}
.me-panel .me-profile-qr>svg:first-child{width:18px;height:18px;stroke-width:1.6}
.me-panel .me-profile-qr>.me-chevron{width:14px;height:14px}
.me-panel .me-home>.me-menu-group{margin-bottom:12px}
.me-panel .me-menu-row[data-menu] .me-menu-icon{color:#505861}
.me-panel .me-menu-note{font-size:12px;color:#92979f;white-space:nowrap;flex:none}
.me-panel .me-profile-qr:focus-visible{outline:2px solid #9aa9b7;outline-offset:-3px}
.me-panel .me-profile-qr:active{background:#e5e5e5}
.me-tools-content{padding-top:12px;min-height:250px}
@media(max-width:759px),(max-height:500px) and (pointer:coarse){
 .me-panel .me-profile-header{padding:calc(60px + env(safe-area-inset-top,0px)) 22px 32px}
 .me-panel .me-profile-header>.me-profile{padding:0;gap:17px;margin:0}
 .me-panel .me-profile-header .me-profile>.avatar{width:62px;height:62px;border-radius:10px}
 .me-panel .me-profile-header .me-profile-copy>strong{font-size:21px}
 .me-panel .me-menu-row{min-height:57px}
}
@media(max-width:350px){.me-panel .me-profile-header{padding-left:20px;padding-right:16px;gap:6px}.me-panel .me-profile-header>.me-profile{gap:12px}.me-panel .me-profile-header .me-profile-copy>strong{font-size:19px}.me-panel .me-menu-note{font-size:11px}}

/* A branded toolbox, distinct from the general settings gear. */
.me-panel .me-menu-row[data-menu="official-tools"] .me-menu-icon{color:#292d35}
.me-panel .me-menu-row[data-menu="official-tools"] .me-menu-icon svg{width:24px;height:24px}
