.profile-safety{margin:16px 10px 0;padding:10px 0 0;border-top:1px solid #ccc;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;font-size:12px}
.profile-safety button{background:none!important;border:0!important;padding:3px!important;color:#555;text-decoration:underline;cursor:pointer;font:inherit}
.profile-safety button:hover,.profile-safety button:focus-visible{color:#925600;text-decoration-thickness:2px}.profile-safety p{flex-basis:100%;margin:0;text-align:center}
.profile-safety-dialog{box-sizing:border-box;max-width:440px;width:calc(100% - 24px);max-height:90vh;overflow:auto;border:1px solid #aaa;border-radius:8px;background:#fff;color:#222;padding:20px;font:14px Arial,sans-serif}.profile-safety-dialog::backdrop{background:#0008}.profile-safety-dialog h2{margin-top:0;font-size:18px}.profile-safety-dialog label{display:block;margin:12px 0}.profile-safety-dialog select,.profile-safety-dialog textarea{box-sizing:border-box;display:block;width:100%;margin-top:5px;font:inherit}.profile-safety-dialog p{font-size:12px;line-height:1.5}.profile-safety-dialog form>div{display:flex;gap:10px}.profile-safety-dialog button{padding:6px 12px}
html[data-wos-theme="night"] .profile-safety,body.night-mode .profile-safety{border-color:#465561}html[data-wos-theme="night"] .profile-safety button,body.night-mode .profile-safety button{color:#bbccda}html[data-wos-theme="night"] .profile-safety-dialog,body.night-mode .profile-safety-dialog{background:#202c35;color:#e0e8ee;border-color:#536471}
html[data-wos-theme="night"] #profile-safety button{background:transparent!important;color:#bbccda!important;box-shadow:none!important}

.profile-safety-dialog blockquote{margin:8px 0;padding:8px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:170px;overflow:auto}
