.start-post-backdrop{
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:flex-end;
  justify-content:center;
}

.start-post-backdrop.show{
  display:flex;
}

.start-post-open{
  overflow:hidden!important;
}

.start-post-modal{
  width:100%;
  max-width:640px;
  background:#fff;
  border-radius:22px 22px 0 0;
  overflow:hidden;
  box-shadow:0 -18px 50px rgba(15,23,42,.25);
}

.start-post-head{
  height:54px;
  padding:0 16px;
  border-bottom:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.start-post-head strong{
  font-size:16px;
  font-weight:900;
}

.start-post-head button{
  border:0;
  background:transparent;
  font-size:28px;
  line-height:1;
  color:#444;
}

.start-post-profile{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px 4px;
}

.start-post-profile img{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  background:#e5e7eb;
}

.start-post-profile strong{
  display:block;
  font-size:14px;
  font-weight:900;
  color:#111;
}

.start-post-profile span{
  display:block;
  margin-top:2px;
  font-size:12px;
  color:#666;
}

#startPostText{
  width:100%;
  min-height:180px;
  border:0;
  outline:0;
  resize:none;
  padding:14px 16px;
  font-size:17px;
  line-height:1.45;
  font-family:Inter,sans-serif;
}

.start-post-preview{
  padding:0 16px 12px;
  display:grid;
  gap:10px;
  max-height:290px;
  overflow:auto;
}

.start-preview-item{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#f3f4f6;
}

.start-preview-item img,
.start-preview-item video{
  width:100%;
  max-height:260px;
  object-fit:cover;
  display:block;
  background:#000;
}

.start-preview-item button{
  position:absolute;
  top:8px;
  right:8px;
  z-index:2;
  width:28px;
  height:28px;
  border-radius:50%;
  border:0;
  background:rgba(0,0,0,.65);
  color:#fff;
  font-size:18px;
  line-height:1;
}

.start-upload-progress{
  display:none;
  align-items:center;
  gap:10px;
  padding:0 16px 12px;
}

.start-upload-track{
  flex:1;
  height:7px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
}

.start-upload-bar{
  width:0%;
  height:100%;
  background:#0a66c2;
  border-radius:999px;
  transition:width .18s ease;
}

#startUploadText{
  min-width:38px;
  text-align:right;
  font-size:12px;
  font-weight:900;
  color:#0a66c2;
}

.start-post-actions{
  border-top:1px solid #e5e7eb;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.start-media-btn{
  color:#0a66c2;
  font-weight:900;
  cursor:pointer;
}

.start-media-btn input{
  display:none;
}

#startPostSubmit{
  border:0;
  background:#0a66c2;
  color:#fff;
  border-radius:999px;
  padding:10px 22px;
  font-weight:900;
}

#startPostSubmit:disabled{
  opacity:.55;
  cursor:not-allowed;
}
