.profile-ai-marked { position: relative; }
.profile-ai-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: inline-block; padding: 0; border: 0;
  border-radius: 0; background: transparent; color: #ff6262;
  font: 400 11px/1.25 "Segoe UI", sans-serif; letter-spacing: .02em;
  pointer-events: auto;
}
:is(.message-avatar, .private-conversations-avatar, .private-chat-avatar, .public-friend-avatar) > .profile-ai-badge {
  top: auto; bottom: 2px; left: 50%; transform: translateX(-50%);
  padding: 0; font-size: 8px; line-height: 10px;
}
.profile-ai-declaration, .profile-ai-edit {
  margin: 12px 0; padding: 14px 16px; border: 1px solid rgba(130,210,210,.3);
  border-radius: 12px; background: rgba(30,65,76,.22); color: #edf7ff;
}
.profile-ai-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.5; font-weight: 700; }
.profile-ai-check input[type="checkbox"] { flex: 0 0 19px; width: 19px; height: 19px; margin: 3px 0 0; padding: 0; accent-color: #71e0d4; }
.profile-ai-declaration p, .profile-ai-edit p { margin: 8px 0 0; color: #c1cfdf; font-size: .9rem; line-height: 1.5; }
.profile-ai-edit .btn { margin-top: 12px; }
.profile-ai-feedback { min-height: 1.5em; overflow-wrap: anywhere; }
.profile-ai-edit input:disabled + span { opacity: .65; }
.profile-ai-confirm { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.75); }
.profile-ai-confirm > div { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px; border: 1px solid #6daeb0; border-radius: 16px; background: #151d35; color: #f0f7ff; box-sizing: border-box; }
.profile-ai-confirm h2 { margin: 0 0 12px; font-size: 1.35rem; }
.profile-ai-confirm p { overflow-wrap: anywhere; line-height: 1.5; }
.profile-ai-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
@media(max-width: 480px) { .profile-ai-declaration, .profile-ai-edit { padding: 12px; } }
