.xe-widget.se-host{position:relative}
.se-edit{position:absolute;top:4px;right:4px;z-index:2;box-sizing:border-box;width:28px;min-width:0;height:28px;margin:0;padding:0;border:1px solid #d9d9d9;border-radius:50%;background:#fff;color:#2188ff;font-size:15px;line-height:26px;text-align:center;cursor:pointer;opacity:.8}
.se-edit:hover,.se-edit:focus-visible{opacity:1;border-color:#2188ff;outline:0}
body.se-lock{overflow:hidden}
.se-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.5)}
.se-dialog{width:100%;max-width:440px;max-height:calc(100vh - 32px);overflow-x:hidden;overflow-y:auto;padding:20px 22px 16px;background:#fff;border-radius:6px;box-shadow:0 8px 32px rgba(0,0,0,.25);color:#555;font-size:16px}
.se-heading{margin:0 0 6px;font-size:20px;line-height:28px;font-weight:700;color:#373e4a}
.se-tip{margin:0 0 12px;font-size:14px;line-height:1.6;color:#8a8f99}
.se-field{display:block;margin:0 0 10px}
.se-label{display:block;margin-bottom:4px;font-size:14px;color:#373e4a}
.se-input{display:block;width:100%;box-sizing:border-box;padding:7px 10px;border:1px solid #d9d9d9;border-radius:4px;background:#fff;color:#373e4a;font:inherit;font-size:16px}
.se-input:focus{border-color:#2188ff;outline:0}
textarea.se-input{resize:vertical;min-height:72px}
.se-password{font-family:Consolas,Menlo,monospace;letter-spacing:1px}
.se-avatar-row{display:flex;align-items:center;gap:12px;margin:0 0 10px}
.se-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;background:#eee}
.se-msg{min-height:22px;margin:0 0 6px;font-size:14px;line-height:1.6}
.se-msg.se-ok{color:#1f9d55}
.se-msg.se-err{color:#d93025}
.se-actions{display:flex;justify-content:flex-end;gap:10px}
.se-btn{min-width:88px;height:38px;padding:0 16px;border:1px solid #d9d9d9;border-radius:4px;background:#fff;color:#555;font-size:15px;cursor:pointer}
.se-btn:hover,.se-btn:focus-visible{border-color:#2188ff;color:#2188ff;outline:0}
.se-btn:disabled{opacity:.55;cursor:default}
.se-btn.se-primary{border-color:#2188ff;background:#2188ff;color:#fff}
.se-btn.se-primary:hover,.se-btn.se-primary:focus-visible{border-color:#0f6fe0;background:#0f6fe0;color:#fff}
.se-pick{flex:0 0 auto;min-width:0;height:34px;font-size:14px;white-space:nowrap}
/* the homepage styles input[type=file] as a block, which beats the hidden attribute */
.se-file{display:none!important}
body.night .se-edit{border-color:#3f4142;background:#2c2e2f;color:#5aa9ff}
body.night .se-overlay{background:rgba(0,0,0,.7)}
body.night .se-dialog{background:#2c2e2f;color:#b9b9b9;box-shadow:0 8px 32px rgba(0,0,0,.6)}
body.night .se-heading,body.night .se-label{color:#d8d8d8}
body.night .se-input{border-color:#3f4142;background:#252728;color:#d8d8d8}
body.night .se-btn{border-color:#3f4142;background:#2c2e2f;color:#b9b9b9}
body.night .se-btn.se-primary{border-color:#2188ff;background:#2188ff;color:#fff}
@media (max-width:600px){
  .se-overlay{padding:10px}
  .se-dialog{max-height:calc(100vh - 20px);padding:16px 14px 12px}
  .se-actions .se-btn{flex:1;min-width:0}
}
/* 资源免费入驻 row: hidden until slot-edit.js has ranked it, and shown after 6 s even when the script never runs */
html:not(.se-sorted) h4:has(> i[id="资源免费入驻"]) + .row{visibility:hidden;animation:se-reveal 0s 6s forwards}
@keyframes se-reveal{to{visibility:visible}}
/* 「+」 申请入驻 tiles at the end of the row */
.xe-widget.se-plus{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:87px;border:2px dashed #c8ccd2;background:transparent;box-shadow:none;color:#9aa0a6;cursor:pointer;user-select:none}
.xe-widget.se-plus:hover,.xe-widget.se-plus:focus-visible{border-color:#2188ff;color:#2188ff;outline:0}
.se-plus-mark{font-size:36px;line-height:1;font-weight:300}
.se-plus-text{margin-top:4px;font-size:14px;line-height:1.4}
body.night .xe-widget.se-plus{border-color:#3f4142;color:#8a8f99}
.se-https{display:inline-block;margin:0 0 12px;color:#2188ff;font-size:16px;word-break:break-all}
body.night .se-https{color:#5aa9ff}
/* 编辑资料 → 「还没有密码？首次设置」: a text link, not a button */
.se-btn.se-link-btn{display:inline-block;min-width:0;height:auto;margin:-4px 0 12px;padding:0;border:0;background:none;color:#2188ff;font-size:14px;line-height:1.6;text-decoration:underline;cursor:pointer}
.se-btn.se-link-btn:hover,.se-btn.se-link-btn:focus-visible{border:0;color:#0f6fe0}
body.night .se-btn.se-link-btn{background:none;color:#5aa9ff}
