.on-profile-header{display:flex;align-items:center;gap:18px;padding:22px;margin-bottom:16px}
.on-profile-header h2{margin:0 0 8px;font-size:1.35rem}
.on-profile-header p{margin:0 0 10px;white-space:pre-wrap}
.on-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.on-profile-card{padding:22px;min-width:0}
.on-profile-card h3{padding:0;margin:0 0 12px}
.on-profile-card p{padding:0;margin:0 0 18px}
.on-profile-card form{padding:0}
.on-profile-card label{margin-bottom:12px}
.on-profile-card .on-profile-readonly{display:flex;min-height:40px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:8px 12px;overflow-wrap:anywhere;font-weight:400}
.on-profile-avatar-wrap{width:98px;height:98px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border-radius:22px;background:var(--bg-soft);border:1px solid var(--line)}
.on-profile-avatar{width:100%;height:100%;display:block;object-fit:cover}
.on-profile-avatar[hidden]{display:none}
.on-profile-avatar-placeholder{font-weight:850;color:var(--primary);font-size:2rem}
.on-profile-avatar-placeholder[hidden]{display:none}
.on-profile-userbox{display:flex;flex-direction:row;align-items:center;gap:12px;cursor:pointer}
.on-profile-side-photo{width:58px;height:58px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:16px;border:1px solid var(--line);background:var(--bg-soft)}
.on-profile-side-photo .on-profile-avatar-placeholder{font-size:1.4rem}
.on-profile-user-info{display:grid;gap:7px;min-width:0;overflow-wrap:anywhere}
.on-profile-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}
.on-profile-rule{border:0;border-top:1px solid var(--line);margin:22px 0}
#profileTelegramSlot{margin-top:4px}
#profileSection #telegramConnectPanel{width:100%}
@media(max-width:800px){.on-profile-grid{grid-template-columns:1fr}.on-profile-header{padding:16px}.on-profile-card{padding:16px}}
