.compose {
  display: flex;
  gap: 10px;
  border: 1px dashed transparent;
  border-radius: 4px;
  transition: border-color 0.1s, background 0.1s;
}

.compose.compose-dragover {
  border-color: #2fe28a;
  background: rgba(47, 226, 138, 0.06);
}

.compose-body {
  flex: 1;
}

.compose-textarea {
  height: 50px;
}

.compose-location {
  margin-top: 6px;
}

.location-toggle {
  background: none;
  border: none;
  padding: 0;
  color: #7e8d97;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.location-toggle:hover {
  color: #45dd92;
}

.location-label {
  margin-right: 6px;
  color: #5c6b73;
  font-size: 12px;
  font-style: italic;
}

.compose-location .location-input {
  width: 100%;
  max-width: 220px;
  padding: 4px 7px;
  border: 1px solid #2f3b44;
  background: #0f1419;
  color: #e7e9ea;
  border-radius: 3px;
  font-family: inherit;
  font-size: 12px;
  margin: 0;
}

.compose-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.compose-media-btn {
  color: #7e8d97;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-right: auto;
  font-size: 12px;
}

.compose-media-btn:hover {
  color: #45dd92;
}

.compose-media-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: #7e8d97;
}

.compose-media-preview[hidden] {
  display: none;
}

.compose-media-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.compose-cw-toggle {
  background: none;
  border: none;
  color: #7e8d97;
  cursor: pointer;
  font-size: 11px;
  padding: 0;
  font-family: inherit;
  white-space: nowrap;
}

.compose-cw-toggle:hover,
.compose-cw-toggle.active {
  color: #e0a64a;
}

.compose-cw-row,
.compose-alt-row {
  margin-top: 4px;
}

.compose-cw-row[hidden],
.compose-alt-row[hidden] {
  display: none;
}

.compose-alt-input {
  width: 100%;
  padding: 4px 7px;
  border: 1px solid #2f3b44;
  background: #0f1419;
  color: #e7e9ea;
  border-radius: 3px;
  font-family: inherit;
  font-size: 12px;
}

.compose-alt-input::placeholder {
  color: #5c6b73;
}

.compose-cw-input {
  width: 100%;
  padding: 4px 7px;
  border: 1px solid #e0a64a;
  background: #0f1419;
  color: #e7e9ea;
  border-radius: 3px;
  font-family: inherit;
  font-size: 12px;
}

.compose-cw-input::placeholder {
  color: #5c6b73;
}

.compose-media-remove {
  background: none;
  border: none;
  color: #7e8d97;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  line-height: 1;
}

.compose-media-remove:hover {
  color: #ff6b6b;
}

.charcount {
  color: #7e8d97;
  font-size: 12px;
}

.charcount.warn {
  color: #e0a64a;
}

.charcount.over {
  color: #ff6b6b;
  font-weight: bold;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  border: 1px solid #2f3b44;
  object-fit: cover;
  flex-shrink: 0;
}

.avatar-link {
  flex-shrink: 0;
  align-self: flex-start;
  line-height: 0;
}

.avatar-small {
  width: 32px;
  height: 32px;
}

.avatar-large {
  width: 73px;
  height: 73px;
}

.profile-avatar-preview {
  display: block;
  margin-bottom: 8px;
}
