:root{--auth-ink:#111b30;--auth-muted:#758097;--auth-blue:#2673ef;--auth-line:#dce1eb;--auth-coral:#ff745b;--auth-shadow:0 18px 50px rgba(101,65,132,.09)}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body.auth-page{min-height:100vh;margin:0;color:var(--auth-ink);font:15px/1.5 "PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,sans-serif;background:linear-gradient(112deg,#fde7f0 0%,#f8e6f5 48%,#ece5ff 100%);position:relative;isolation:isolate}
.auth-page::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background-image:linear-gradient(rgba(137,112,164,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(137,112,164,.075) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(180deg,#000 0%,#000 75%,transparent 100%)}.auth-page::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 11% 48%,rgba(255,255,255,.43),transparent 24%),radial-gradient(circle at 84% 72%,rgba(233,205,255,.36),transparent 28%)}
.auth-square{position:fixed;width:21px;height:21px;background:#edc4ff33;border:1px solid #fff5;z-index:-1;pointer-events:none}.auth-sq-one{top:10%;left:9%}.auth-sq-two{top:22%;right:4%}.auth-sq-three{left:4%;bottom:9%}.auth-sq-four{right:2%;bottom:31%;width:24px;height:24px}
.auth-shell{width:min(795px,calc(100% - 32px));min-height:100vh;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;padding:30px 0}.auth-entry-shell{width:min(735px,calc(100% - 32px))}.auth-card{transform:scale(.8);transform-origin:center;position:relative;min-width:0;min-height:840px;padding:44px 56px 26px;border:1px solid rgba(255,255,255,.92);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(255,255,255,.91));box-shadow:var(--auth-shadow);overflow:hidden}.auth-card::after{content:"";position:absolute;top:-105px;right:-90px;width:280px;height:240px;border-radius:50%;background:radial-gradient(ellipse,#fff 5%,#fff9 45%,transparent 75%);pointer-events:none}
.auth-card.settings-card{min-height:0;padding:40px 48px}.auth-brand-row{position:relative;z-index:1;min-height:175px}.auth-brand{display:inline-flex;align-items:center;gap:12px;color:var(--auth-ink);text-decoration:none;font-size:35px;font-weight:900;letter-spacing:.015em;line-height:1}.auth-brand img{width:58px;height:58px;object-fit:contain}.auth-brand-name{padding-top:3px}.auth-mascot{position:absolute;z-index:-1;right:-8px;top:0;width:255px;height:134px;object-fit:contain;object-position:center;filter:drop-shadow(0 8px 11px rgba(173,117,65,.11));opacity:.97}
.auth-title{font-size:32px;line-height:1.3;letter-spacing:-.025em;margin:17px 0 3px;font-weight:780}.auth-subtitle{font-size:17px;color:var(--auth-muted);margin:0}.auth-form{position:relative;z-index:1}.auth-field{margin-bottom:21px}.auth-field label{display:block;margin:0 0 8px;font-size:16px;font-weight:650;color:#19243a}.auth-input-wrap{height:56px;border:1px solid var(--auth-line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:13px;padding:0 16px;box-shadow:none;transition:border-color .18s}.auth-input-wrap:focus-within{border-color:#93b9ff}.auth-input-wrap>svg{width:23px;height:23px;flex:none;color:#7c88a1;stroke-width:1.8}.auth-input-wrap input{min-width:0;width:100%;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--auth-ink);font:inherit;font-size:16px}.auth-input-wrap input::placeholder{color:#9aa3b6;opacity:1}.auth-input-wrap input:-webkit-autofill,.auth-input-wrap input:-webkit-autofill:hover,.auth-input-wrap input:-webkit-autofill:focus{-webkit-text-fill-color:var(--auth-ink);-webkit-box-shadow:0 0 0 1000px #fff inset;box-shadow:0 0 0 1000px #fff inset;caret-color:var(--auth-ink)}.auth-eye{width:30px;height:34px;border:0;background:transparent;color:#7c88a1;display:grid;place-items:center;padding:0;cursor:pointer}.auth-eye svg{width:21px;height:21px}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-5px 0 30px;color:#3d4962}.auth-check{display:inline-flex;align-items:center;gap:10px;cursor:pointer;user-select:none}.auth-check input{appearance:none;width:24px;height:24px;margin:0;border:1.5px solid #bac3d4;border-radius:5px;background:#fff;display:grid;place-items:center;cursor:pointer;flex:none}.auth-check input:checked{background:#3281ff;border-color:#3281ff}.auth-check input:checked::after{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translateY(-1px)}.auth-check span{line-height:1.4}.auth-link{color:var(--auth-blue);text-decoration:none;font-weight:600}.auth-link:hover{text-decoration:underline;text-underline-offset:3px}
.auth-primary{height:64px;width:100%;border:0;border-radius:13px;background:linear-gradient(105deg,#ff8055,#ff6259);box-shadow:0 10px 24px rgba(255,105,87,.18);color:#fff;font:inherit;font-size:18px;font-weight:750;cursor:pointer;transition:transform .16s,filter .16s}.auth-primary:hover{filter:saturate(1.06) brightness(1.015);transform:translateY(-1px)}.auth-primary span{padding-left:9px;font-size:23px;vertical-align:-1px}.auth-divider{display:flex;align-items:center;gap:16px;margin:25px 0 22px;color:#7c879c;font-size:15px}.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:#d9deea}.auth-socials{display:grid;grid-template-columns:1fr 1fr;gap:15px}.auth-social{height:60px;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--auth-line);border-radius:13px;background:#fff;color:var(--auth-ink);font:inherit;font-size:16px;font-weight:600;cursor:pointer}.auth-social svg{width:25px;height:25px}.auth-social:disabled{cursor:not-allowed;opacity:.58;filter:saturate(.55)}.auth-social:disabled:hover{border-color:var(--auth-line);background:#fff;transform:none}.auth-social.wechat svg{color:#10b944}.auth-social.qq svg{color:#2784fa}.auth-switch{text-align:center;color:var(--auth-muted);margin:20px 0 0;font-size:15px}.auth-switch a{margin-left:6px}
.auth-captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 144px;gap:12px}.auth-captcha-refresh{height:56px;display:flex;align-items:center;justify-content:center;gap:7px;padding:4px 8px;border:1px solid var(--auth-line);border-radius:12px;background:#f8f9fc;cursor:pointer}.auth-captcha-refresh:hover{border-color:#b7c8ef;background:#f2f5fc}.auth-captcha-refresh img{display:block;width:104px;height:44px;border-radius:6px;object-fit:fill}.auth-captcha-refresh span{color:var(--auth-blue);font-size:19px;line-height:1}.auth-agreement{display:flex;align-items:flex-start;gap:12px;margin:15px 0 22px;color:#47536d;font-size:14px}.auth-agreement .auth-check{flex:none}.auth-agreement p{margin:2px 0 0}.auth-field-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.auth-field-heading label{margin:0}.auth-password-generator{font-size:12px;font-weight:600}.auth-field-feedback{display:block;margin-top:5px;font-size:12px;line-height:1.4}.auth-field-feedback:empty{display:none}.auth-field.has-error .auth-input-wrap{border-color:#e26a6a;box-shadow:0 0 0 3px rgba(226,106,106,.09)}.auth-field.has-error .auth-captcha-refresh{border-color:#e26a6a}.auth-field.has-error .auth-field-feedback{color:#c14d4d}.auth-field.is-valid .auth-input-wrap{border-color:#84b89a}.auth-field.is-valid .auth-field-feedback{color:#397259}.auth-register-form .auth-field{margin-bottom:18px}.auth-register-form .auth-primary{height:60px}.auth-register-form .auth-switch{margin-top:17px}.auth-notice{min-height:19px;margin:9px 0 0;color:#c14d4d;font-size:12px;text-align:center}.auth-notice:empty{visibility:hidden}
.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px}.settings-heading h1{font-size:25px;margin:0}.settings-heading p{margin:4px 0 0;color:var(--auth-muted);font-size:13px}.settings-heading .auth-link{font-size:13px}.avatar-editor{display:flex;align-items:center;gap:18px;padding:16px 0 22px;border-bottom:1px solid #e8ebf2;margin-bottom:21px}.avatar-preview{width:86px;height:86px;border-radius:50%;border:1px solid #dce1eb;background:linear-gradient(135deg,#fff0e7,#eee9ff);display:grid;place-items:center;overflow:hidden;font-size:48px;flex:none}.avatar-preview img{width:100%;height:100%;object-fit:cover}.avatar-actions{display:grid;gap:10px}.avatar-actions label{display:inline-flex;width:max-content;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border:1px solid var(--auth-line);border-radius:8px;background:white;color:#46536b;font-size:13px;cursor:pointer}.avatar-actions input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.avatar-presets{display:flex;gap:6px}.avatar-preset{width:30px;height:30px;border:1px solid transparent;border-radius:50%;background:#f7f8fc;font-size:18px;cursor:pointer}.avatar-preset[aria-pressed=true]{border-color:#79a5ff;background:#edf4ff}.settings-form .auth-field{margin-bottom:17px}.settings-form textarea{width:100%;min-height:90px;padding:12px 14px;border:1px solid var(--auth-line);border-radius:10px;color:var(--auth-ink);font:inherit;resize:vertical}.settings-form textarea:focus{outline:0;border-color:#93b9ff;box-shadow:0 0 0 3px #4d8dff18}.settings-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.settings-actions .auth-primary{flex:1;height:52px;font-size:15px}.settings-actions .auth-primary:disabled{background:#e7eaf1;box-shadow:none;color:#929bad;cursor:not-allowed;filter:none;transform:none}.auth-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 16px;border:1px solid var(--auth-line);border-radius:10px;background:#fff;color:#5a667d;font:inherit;text-decoration:none;cursor:pointer}.auth-secondary.danger{color:#bd4c55}
.home-profile-link{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:3px 11px 3px 4px;border:1px solid #ffffffa6;border-radius:99px;background:#ffffffc9;color:#24334e;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}.home-profile-link:hover{background:#fff}.home-profile-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#fff0e7;font-size:21px}.home-profile-avatar img{width:100%;height:100%;object-fit:cover}.home-profile-name{max-width:100px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:860px){.auth-shell{width:min(636px,calc(100% - 32px));padding:24px 0;gap:20px}.auth-entry-shell{width:min(590px,calc(100% - 32px))}.auth-card{transform:none;min-height:0;padding:34px 32px 26px}.auth-brand-row{min-height:160px}.auth-mascot{width:220px;height:116px;right:-5px}.auth-card.settings-card{padding:32px}.auth-card.auth-card-login{min-height:760px}}
@media(max-width:520px){.auth-shell{width:calc(100% - 24px);padding:12px 0}.auth-entry-shell{width:calc(100% - 24px)}.auth-card{padding:25px 20px 22px;border-radius:15px}.auth-brand-row{min-height:145px}.auth-brand{font-size:27px;gap:8px}.auth-brand img{width:47px;height:47px}.auth-mascot{top:37px;right:-16px;width:165px;height:88px;opacity:.88}.auth-title{position:relative;z-index:1;font-size:28px;margin-top:15px}.auth-subtitle{position:relative;z-index:1;font-size:14px}.auth-field{margin-bottom:17px}.auth-field label{font-size:14px}.auth-input-wrap{height:52px;padding-inline:13px;gap:9px}.auth-input-wrap input{font-size:14px}.auth-captcha-row{grid-template-columns:minmax(0,1fr) 112px;gap:8px}.auth-captcha-refresh{height:52px;gap:4px;padding:3px 5px}.auth-captcha-refresh img{width:78px;height:42px}.auth-captcha-refresh span{font-size:16px}.auth-row{font-size:14px;margin-bottom:23px}.auth-primary{height:56px;font-size:16px}.auth-socials{gap:8px}.auth-social{height:52px;font-size:14px;gap:7px}.auth-divider{margin:20px 0 16px}.auth-switch{font-size:14px}.auth-agreement{font-size:12px;gap:9px}.auth-agreement .auth-check input{width:21px;height:21px}.auth-card.settings-card{padding:24px 20px}.avatar-editor{align-items:flex-start}.settings-heading h1{font-size:22px}.settings-actions{flex-direction:column;align-items:stretch}.settings-actions .auth-primary,.settings-actions .auth-secondary{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.auth-primary,.auth-input-wrap{transition:none}}
.avatar-upload-link{display:inline-flex;width:max-content;min-height:36px;align-items:center;justify-content:center;padding:0 13px;border:1px solid var(--auth-line);border-radius:8px;background:#fff;color:#46536b;font-size:13px;text-decoration:none;cursor:pointer}.avatar-upload-link:hover{border-color:#b9c7e1;color:var(--auth-blue)}
.settings-permission-value{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid var(--auth-line);border-radius:10px;background:#f8f9fc}.settings-permission-value strong{color:var(--auth-ink);font-size:14px;font-weight:700}.settings-permission-value span{color:#8994a8;font-size:12px}
.settings-field-note{display:block;margin-top:5px;color:var(--auth-muted);font-size:12px}.settings-form .auth-input-wrap input:disabled{background:#f4f6fa;color:#78849a;cursor:not-allowed}
@media(max-width:520px){.settings-permission-value{align-items:flex-start;flex-direction:column;gap:3px}}
.settings-page .auth-shell{width:min(900px,calc(100% - 40px));min-height:0;align-items:start;padding:12px 0 18px}
.settings-page .settings-card{top:0;transform:none;padding:26px 28px;border-radius:20px}
.settings-page .settings-exit-button{position:absolute;top:20px;right:28px;z-index:2;width:46px;height:46px;border:2px solid #ffe1e8;border-radius:50%;background:#fff;box-shadow:0 5px 15px rgba(239,82,121,.08);color:#f04f78}
.settings-page .settings-exit-button:hover{background:#fff7f8;box-shadow:0 7px 18px rgba(239,82,121,.14);color:#e9416b}
.settings-page .settings-exit-button svg{width:20px;height:20px}
.settings-page .settings-heading{margin-bottom:17px;padding:0 58px 13px 0;border-bottom:1px solid #e9ecf3}
.settings-page .settings-heading h1{font-size:24px;letter-spacing:-.03em}
.settings-page .settings-heading p{font-size:14px}
.settings-form{display:grid;grid-template-columns:minmax(215px,.78fr) minmax(0,1.7fr);gap:12px}
.settings-avatar-panel,.settings-section{min-width:0;padding:16px;border:1px solid #e9edf5;border-radius:15px;background:rgba(255,255,255,.8);box-shadow:0 7px 22px rgba(55,67,99,.035)}
.settings-section-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.settings-section-heading h2{margin:0;color:#19243b;font-size:16px;font-weight:750}
.settings-section-heading p{margin:3px 0 0;color:#8a95a9;font-size:11px;line-height:1.45}
.settings-section-mark{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:11px;background:#fff0f3;color:#f25b78;font-size:19px}
.settings-section-mark.account-mark{background:#eef4ff;color:#4b83e9}
.settings-section-mark.profile-mark{background:#f4efff;color:#8867d8}
.settings-avatar-panel{grid-column:1;grid-row:1;display:flex;flex-direction:column}
.settings-avatar-panel .settings-section-heading{margin-bottom:7px}
.settings-avatar-panel .avatar-editor{flex:1;flex-direction:column;justify-content:center;gap:13px;margin:0;padding:14px 0 8px;border:0}
.settings-avatar-panel .avatar-preview{width:84px;height:84px;border:3px solid #fff;box-shadow:0 0 0 1px #dfe5f0,0 8px 19px rgba(81,91,125,.12);font-size:44px}
.settings-avatar-panel .avatar-actions{justify-items:center;gap:9px}
.settings-avatar-panel .avatar-upload-link{border-color:#ffd5dc;color:#e65a73;font-weight:650}
.settings-avatar-panel .avatar-presets{gap:8px}
.settings-avatar-panel .avatar-preset{width:32px;height:32px}
.settings-avatar-hint{margin:8px 0 0;color:#98a1b1;font-size:10px;text-align:center}
.settings-account-section{grid-column:2;grid-row:1}
.settings-profile-section,.settings-actions,.settings-form>.auth-notice{grid-column:1/-1}
.settings-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.settings-form .auth-field{min-width:0;margin-bottom:9px}
.settings-form .auth-field label{display:block;margin-bottom:6px;color:#34415c;font-size:12px;font-weight:700}
.settings-form .auth-input-wrap{height:40px;border-radius:9px;background:#fff}
.settings-form .auth-input-wrap input{font-size:13px}
.settings-form textarea{min-height:68px;border-radius:9px;background:#fff;font-size:13px}
.settings-field-note{margin-top:4px;font-size:10px}
.settings-form .settings-phone-wrap{background:#f1f3f7}
.settings-form .settings-phone-wrap input:disabled{background:transparent}
.settings-permission-field{margin-bottom:0!important}
.settings-permission-value{min-height:44px;align-items:center;padding:7px 10px;border-radius:9px;background:#fff}
.settings-permission-value strong{display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;border-radius:7px;background:#eef4ff;color:#3974d4;font-size:11px}
.settings-permission-value strong.is-super-admin{background:#fff5df;color:#a86b08}
.settings-permission-value span{font-size:10px}
.settings-bio-field{grid-column:1/-1}
.settings-actions{justify-content:flex-end;margin-top:0;padding-top:3px}
.settings-actions .auth-primary{flex:0 1 220px;height:46px;border-radius:10px;font-size:13px}
.settings-actions .auth-secondary{min-height:46px;border-radius:10px;font-size:13px}
.settings-form>.auth-notice{margin:0;text-align:right}
.settings-actions-spacer{flex:1}
.settings-delete-link{margin-right:auto;color:#b85e6e;font-size:12px;text-decoration:none}
.settings-delete-link:hover{color:#d63f5e;text-decoration:underline}
.settings-admin-cleanup{grid-column:1/-1}
.settings-admin-cleanup[hidden]{display:none}
.cleanup-mark{background:#fff1f0;color:#d75555}
.settings-cleanup-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--auth-muted);font-size:12px}
.settings-deleted-user-list{display:grid;gap:7px;margin:12px 0 0;padding:0;list-style:none}
.settings-deleted-user-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid #edf0f5;border-radius:9px;background:#fff;color:#33415b;font-size:12px}
.settings-deleted-user-list strong{font-weight:700}
.settings-deleted-user-list small{color:#8a94a7;font-size:10px}
.settings-deleted-user-list .deleted-user-empty{justify-content:center;color:#8a94a7}
.settings-danger-button{min-height:36px;padding:0 13px;border:1px solid #f3c6cd;border-radius:9px;background:#fff;color:#c73e55;font:inherit;font-size:12px;cursor:pointer}
.settings-danger-button:hover:not(:disabled){border-color:#e97c8b;background:#fff7f8}
.settings-danger-button:disabled{opacity:.5;cursor:not-allowed}
.settings-confirm-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}
.settings-confirm-overlay[hidden]{display:none}
.settings-confirm-backdrop{position:absolute;inset:0;background:rgba(21,27,45,.42);backdrop-filter:blur(5px)}
.settings-confirm-card{position:relative;width:min(440px,100%);padding:28px;border:1px solid #fff;border-radius:20px;background:linear-gradient(145deg,#fff,#fff9fd);box-shadow:0 24px 80px rgba(28,34,62,.24);text-align:center}
.settings-confirm-icon{width:48px;height:48px;margin:0 auto 12px;display:grid;place-items:center;border-radius:50%;background:#fff0f2;color:#dc4961;font-size:27px;font-weight:800}
.settings-confirm-card h2{margin:0;color:var(--auth-ink);font-size:20px}
.settings-confirm-card p{margin:10px 0 22px;color:#69758c;font-size:13px;line-height:1.75;white-space:pre-line}
.settings-confirm-actions{display:flex;justify-content:center;gap:10px}
.settings-confirm-actions button{min-width:112px;height:42px;border-radius:10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.settings-confirm-cancel{border:1px solid var(--auth-line);background:#fff;color:#59657c}
.settings-confirm-accept{border:0;background:linear-gradient(100deg,#ff795f,#f34b6d);color:#fff;box-shadow:0 8px 18px #f45b6e2b}
.settings-confirm-accept:disabled{opacity:.6;cursor:wait}
.auth-yc-entry{margin:14px 0 0;text-align:right;font-size:13px}
.auth-yc-entry a{color:#758097;text-decoration:none;transition:color .18s}
.auth-yc-entry a:hover{color:#2673ef;text-decoration:underline}
.auth-yc-note{margin:8px 0 0;color:#8791a5;font-size:12px;text-align:center}
@media(max-width:860px){
  .settings-page .auth-shell{width:min(680px,calc(100% - 32px))}
  .settings-page .settings-card{padding:23px}
  .settings-form{grid-template-columns:minmax(0,1fr)}
  .settings-avatar-panel,.settings-account-section,.settings-profile-section{grid-column:1;grid-row:auto}
  .settings-avatar-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 16px}
  .settings-avatar-panel .settings-section-heading,.settings-avatar-hint{grid-column:1/-1}
  .settings-avatar-panel .avatar-editor{grid-column:1/-1}
  .settings-avatar-panel .avatar-editor{flex-direction:row;justify-content:flex-start;padding:8px 0 0}
  .settings-avatar-panel .avatar-actions{justify-items:start}
  .settings-avatar-hint{text-align:left}
}
@media(max-width:520px){
  .settings-page .auth-shell{width:calc(100% - 24px);padding:8px 0 14px}
  .settings-page .settings-card{padding:18px 15px;border-radius:16px}
  .settings-page .settings-exit-button{top:14px;right:14px;width:38px;height:38px}
  .settings-page .settings-exit-button svg{width:18px;height:18px}
  .settings-page .settings-heading{padding-right:48px}
  .settings-page .settings-heading{margin-bottom:16px;padding-bottom:13px}
  .settings-page .settings-heading h1{font-size:23px}
  .settings-page .settings-heading p{font-size:12px}
  .settings-form{gap:12px}
  .settings-avatar-panel,.settings-section{padding:15px;border-radius:13px}
  .settings-avatar-panel{grid-template-columns:minmax(0,1fr) auto;gap:0 8px}
  .settings-avatar-panel .avatar-preview{width:68px;height:68px;font-size:38px}
  .settings-avatar-panel .avatar-editor{gap:10px}
  .settings-avatar-panel .avatar-upload-link{min-height:32px;padding-inline:10px;font-size:11px}
  .settings-avatar-panel .avatar-presets{gap:4px}
  .settings-avatar-panel .avatar-preset{width:27px;height:27px;font-size:15px}
  .settings-section-heading{gap:8px;margin-bottom:12px}
  .settings-section-heading h2{font-size:14px}
  .settings-section-heading p{font-size:10px}
  .settings-section-mark{width:30px;height:30px;border-radius:9px;font-size:16px}
  .settings-fields-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .settings-bio-field{grid-column:1}
  .settings-permission-value{align-items:center;flex-direction:row;gap:6px}
  .settings-permission-value span{font-size:9px}
  .settings-actions{flex-direction:row;align-items:stretch;gap:8px}
  .settings-actions .auth-primary{flex:1;height:44px}
  .settings-actions .auth-secondary{min-height:44px;padding:0 12px}
  .settings-form>.auth-notice{text-align:left}
  .settings-cleanup-row{align-items:flex-start;flex-direction:column}
  .settings-actions-spacer{display:none}
  .settings-delete-link{align-self:center;margin:0 auto 4px 0}
  .settings-confirm-card{padding:23px 18px}
}

.settings-admin-sponsors{grid-column:1/-1}.settings-admin-sponsors[hidden]{display:none}.sponsor-admin-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;position:relative}.sponsor-admin-form>.auth-field:first-child{grid-column:1/-1}.sponsor-admin-form .auth-field{margin:0}.sponsor-search-results{position:absolute;z-index:5;top:64px;left:0;right:0;display:grid;gap:4px;max-height:180px;overflow:auto;padding:6px;border:1px solid #e2e7f0;border-radius:9px;background:#fff;box-shadow:0 8px 22px #28365318}.sponsor-search-results[hidden]{display:none}.sponsor-search-results button{padding:8px 10px;border:0;border-radius:6px;background:#fff;color:#26334d;text-align:left;cursor:pointer}.sponsor-search-results button:hover{background:#f4f7fc}.sponsor-search-results span{padding:8px;color:#8290a6;font-size:12px}.sponsor-selected-user,.settings-sponsor-notice{margin:0;color:#75839b;font-size:12px}.sponsor-selected-user{grid-column:1/-1}.settings-sponsor-save{height:40px;padding:0 15px;border:0;border-radius:9px;background:linear-gradient(100deg,#ff8057,#f13d70);color:#fff;font-weight:700;cursor:pointer}.settings-sponsor-save:disabled{opacity:.5;cursor:not-allowed}.settings-sponsor-notice{grid-column:1/-1;min-height:18px}.settings-sponsor-list{display:grid;gap:7px;margin:12px 0 0;padding:0;list-style:none}.settings-sponsor-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid #edf0f5;border-radius:9px;background:#fff;color:#33415b;font-size:12px}.settings-sponsor-list li span{color:#e94f78;font-weight:700}.settings-sponsor-list .sponsor-admin-empty{justify-content:center;color:#8a94a7}
@media(max-width:620px){.sponsor-admin-form{grid-template-columns:1fr}.sponsor-admin-form>.auth-field:first-child,.sponsor-selected-user,.settings-sponsor-notice{grid-column:1}.sponsor-search-results{top:61px}.settings-sponsor-save{width:100%}}
.auth-reset-panel[hidden]{display:none}.auth-reset-panel{margin:-16px 0 20px;padding:14px;border:1px solid #e3e8f2;border-radius:12px;background:#f8f9fc}.auth-reset-panel>label{display:block;margin-bottom:7px;color:#53617c;font-size:13px;font-weight:600}.auth-reset-controls{display:flex;gap:8px}.auth-reset-controls input{min-width:0;flex:1;height:42px;padding:0 12px;border:1px solid var(--auth-line);border-radius:9px;background:#fff;color:var(--auth-ink);font:inherit;font-size:14px}.auth-reset-controls button{flex:none;padding:0 14px;border:0;border-radius:9px;background:linear-gradient(110deg,#ff815e,#ff4f67);color:#fff;font:inherit;font-size:13px;font-weight:650;cursor:pointer}.auth-reset-controls button:disabled{opacity:.55;cursor:wait}.auth-reset-panel p{margin:7px 0 0;color:var(--auth-muted);font-size:12px}.auth-reset-panel p[data-state="error"]{color:#c14d4d}.auth-reset-panel p[data-state="success"]{color:#397259}
.auth-card.reset-card{min-height:0}
